Real-time methods for magnetic resonance spectra acquisition

ABSTRACT

The invention pertains to advances in real-time methods in nuclear magnetic resonance by offering a new dual-frequency dynamic nuclear polarization (DNP) method that uses a microwave beam to polarize the spins of electrons and concomitantly act as a NMR transmitter.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a divisional application of U.S. application Ser. No. 15,990,666, filed, with title “Real-Time Methods For Magnetic Resonance Spectra Acquisition”.

TECHNICAL FIELD

This invention pertains to the field of nuclear magnetic resonance (NMR) spectroscopic techniques in real-time chemical analysis.

BACKGROUND OF THE INVENTION

The following is a tabulation of some prior art that presently appears relevant:

U.S. patents Pat. Kind No. Code Issue Date Patentee 8,035,388 B2 2011 Oct. 11 Casanova 8,148,988 B2 2012 Apr. 03 Blumich 2,545,994 A 1948 Mar. 06 Gabler 3,676,791 A 1970 Mar. 17 Guenard 5,247,935 A 1992 Mar. 19 Cline 2,993,638 A 1957 Jul. 24 Hall 4,415,959 A 1981 Mar. 20 Vinciarelli 2,442,762 A 1943 Sep. 09 Ellis 1,862,559 A 1931 Aug. 14 White 4,075,042 A 1973 Nov. 16 Das 4,342,608 A 1980 Apr. 21 Willens 5,867,026 A 1996 Apr. 04 Haner 7,145,340 B2 2004 Nov. 04 Rindlisbacher 7,135,865 B2 2004 Mar. 22 Park 6,396,274 B1 1999 Nov. 05 Commens 9,607,740 B2 2014 May 06 Rowe

U.S. patent application Publications Publication Kind Nr. Code Publ. Date Applicant 13397273 Al 2011 Feb. 22 Koseoglu 14394976 Al 2012 Apr. 16 Hong 13164495 Al 2005 Oct. 27 Baker 12153349 Al 2007 May 21 Kitagawa

Foreign Patent Documents Foreign Cntry Kind App or Doc. Nr. Code Code Pub. Dt Patentee 001651 PCT A1 2009 Apr. 03 Prisner

NONPATENT LITERATURE DOCUMENTS

-   Lauterbur P. Image Formation by Induced Local Interactions: Examples     of Employing Nuclear Magnetic Resonance. Nature. 1973,     242(5394):190-191. -   Finch G., Yilmaz A., Utz M. An optimised detector for in-situ     high-resolution NMR in microfluidic devices. J. Magn. Res. 2016,     262(1):73-80. -   Freedman R et al. A compact high-performance low-field NMR apparatus     for measurements on fluids at very high pressures and temperatures.     Rev. Sci. Instr., 2014, 85:025102. -   Jaravine V, Ibraghimov I, Orekhov V. Removal of a time barrier for     high-resolution multi-dimensional NMR spectroscopy. Nature, 2006,     3:605-607. -   Jaravine V., Zhuravleva A., Permi P., Ibraghimov I., Orekhov V.     Hyperdimensional NMR Spectroscopy with Nonlinear Sampling. JACS,     2008, 130(12):3927-3936. -   Overhauser A. Polarization of Nuclei in Metals. Phys. Rev., 1953,     92(2):411-415. -   Flyagin V., Gaponov A., Petelin M., Yulpatov V. The Gyrotron. IEEE     Trans. Microwave Theory and Tech., 1977, MTT-25:514-521. -   Ivanov E. Generation of pure phase and amplitude-modulated signals     at microwave frequencies. Rev. Sci. Instr., 2012, 83(064705):1-5. -   Misra S. Application of microwave amplitude modulation technique to     measure spin-lattice and spin-spin relaxation times accurately with     a continuous-wave EPR spectrometer: Solution of Bloch's equations by     a matrix technique and least-squares fitting. Appl. Magn. Res.,     2005, 28:55-67. -   Halbach K. Design of permanent multipole magnets with oriented rare     earth cobalt material. Nucl. Inst. Meth., 1980, 169 (1):1-10. -   Bloch F et al. Innovating approaches to the generation of intense     magnetic fields: design and optimization of a 4 Tesla permanent     magnet flux source, IEEE Transactions on Magnetics., 1998,     34(5):2465-2468. -   Yu Y., Jin J., Liu F., Crozier S. Multidimensional Compressed     Sensing MRI Using Tensor Decomposition-Based Sparsifying Transform.     PLoS ONE, 2014, 9(6):e98441. -   Wang A., Bax A. Minimizing the effects of radio-frequency heating in     multidimensional NMR experiments. J. Biomol. NMR, 1993, 3:715-720. -   Eckart C., Young G. A Principal Axis Transformation for     Non-Hermitian Matrices. Bul. Am. Math. Soc., 1939, 45:118-121. -   Harshman R. Foundations of PARAFAC procedure: models and conditions     for an “exploratory” multi-mode analysis. UCLA Work. Pap. Phon.,     1970, 16:1-84. -   Kruskal J. Three-way arrays: rank and uniqueness of trilinear     decompositions, with application to arithmetic complexity and     statistics. Lin. Alg. Appl., 1977, 18:95-138. -   Ibraghimov I. Application of the three-way decomposition for matrix     compression. Numer. Lin. Alg. Appl., 2002, 9:551-565. -   Sidiropoulos N. D., Liu X. Identifiability Results for Blind     Beamforming in Incoherent Multipath with Small Delay Spread. IEEE     Trans On Sig. Proc., 2001, 49(1):228-236. -   Tugarinov V., Kay L., Ibraghimov I., Orekhov V. High-Resolution     Four-Dimensional 1H-13C NOE Spectroscopy Using Methyl-TROSY, Sparse     Data Acquisition, and Multilinear Decomposition. JACS, 2005,     127:2767-2775. -   Hiller S., Ibragimov I., Wagner G., Orekhov V. Coupled Decomposition     of Four-Dimensional NOESY Spectra. JACS, 2009, 131(36):12970-12978. -   Ibragimov I., Ibragimova E. The Multi-Dimensional Decomposition with     Constraints. arXiv.org, 2017, 1701.08544. -   Aue W., Bartholdi E., Ernst R. Two-dimensional spectroscopy.     Application to nuclear magnetic resonance. J. Chem. Phys., 1976,     64:2229-2246. -   Ikura M., Kay L., Bax A. A novel approach for sequential assignment     of 1H, 13C, and 15N spectra of proteins: heteronuclear     triple-resonance three-dimensional NMR spectroscopy. Application to     calmodulin. Biochem., 1990, 29(19):4659-4667. -   Blumich B et al. The NMR-Mouse: Construction, Excitation, and     Applications. Magn. Res. Imag., 1998, 16(5/6):479-484. -   Cortes C., Vapnik V. Support-vector networks. Mach. Learn., 1995,     20(3):273-297. Croat J., Herbst J., Lee R., Pinkerton F. Highenergy     product NdFeB permanent magnets. Appl. Phys. Let., 1984,     44(1):148-149. -   Adams E. A New Permanent Magnet from Powdered Manganese Bismuthide.     Rev. Mod. Phys., 1953, 25(1):306-307. -   Delczeg-Czirjak E. Edstrom A., Werwinski M., Rusz J., Skorodumova     N., Vitos L., Eriksson O. Stabilization of the tetragonal distortion     of Fe_(x)Co_(1x) alloys by C impurities: A potential new permanent     magnet. Phys. Rev. B, 2014, 89:144403-6. -   Schwarz K., Mohn P., Blaha P., Kubler J. Electronic and magnetic     structure of BCC Fe—Co alloys from band theory. J. Phys. F: Met.     Phys., 1984, 14:2659-2671. -   Sharma R. et al. Ti—Zr—V thin films as non-evaporable getters (NEG)     to produce extreme high vacuum. J. Phys.: Conf. Ser., 2008,     114:012050-6. -   Dai Q. et al. Solution processed MnBi—FeCo magnetic nanocomposites.     Nano Reseach, 2016, 9(11):3222-3228. -   Cheng Ye, et al. The thermal stability of magnetically exchange     coupled MnBi/FeCo composites at electric motor working temperature.     Mat. Res. Exp., 2018, in press. -   Lindon J., Nicholson J., Wilson I. Directly coupled HPLC-NMR and     HPLC-NMR-MS in pharmaceutical research and development. J. Chrom. B:     Biomed. Sci. App., 2000, 748(1):233-258.

The following terms: finite difference methods, weighted difference methods, pseudoinverse matrix, least-squares minimization, total least-squares minimization, linear subspace methods, the condition number of the matrix, low rank approximation, singular value decomposition (SVD), high performance liquid chromatography (HPLC), NOESY, and HSQC are well known nowadays and are clearly explained in Wikipedia at http://www.wikipedia.org/.

All chemical elements are composed of one or more isotopes. Every isotope is either a zero-spin isotope or a non-zero-spin isotope.

Nuclear magnetic resonance (NMR) is a physical phenomenon in which non-zero-spin isotopes absorb and re-emit electromagnetic radiation (energy) when placed in an external magnetic field.

NMR occurs at a specific resonance frequency; this frequency has a linear relationship with the strength of the permanent magnetic field and the magnetic properties of isotopes in the target field. Resonance occurs when the absorbed alternate magnetic field is transmitted orthogonally in the direction of the permanent magnetic field.

NMR spectrometers and magnetic resonance imaging (MRI) devices generally comprise one or more magnets that produce a strong magnetic field within a test region. These magnets are usually superconducting magnets, thus NMR applications are restricted to laboratory environments. Currently, anisotropic permanent magnets, i.e. having all parts magnetized in one direction, can achieve magnetic fields of only 1.5 T in strength compared to the 23 T of superconductor magnets. The NMR signal response grows quadratically with regard to the magnetic field strength used in the experiment, which highly constrains the sensitivity and informativity of spectra produced by NMR spectrometers and/or MRI devices that have permanent magnets. NMR devices with permanent magnets are often referred to as low-field NMR spectrometers.

When permanent magnets are combined with several other parts having appropriate magnetization, it is possible to build a focused magnetic field of greater strength than the maximal field achievable with the permanent magnet alone. One well-known combination is the Halbach structure, introduced by Klaus Halbach in 1980, which makes a 5 T magnetic field possible with permanent magnets. This structure is often used in NMR spectrometers; however, it requires joining an enormous number of magnetized pieces. Doing so may be commercially ineffective, or unreasonably sophisticated when using magnets of small size.

The second problem characteristic of the Halbach structure is the high instability of the generated magnetic field in terms of both time and temperature if the same material is used throughout. U.S. Pat. No. 8,148,988 describes a Halbach system that compensates for this drawback through using several permanent magnets of different materials, albeit it only obtains almost half of the maximally achievable magnetic field strength.

Halbach structures may be roughly classified as follows: 1D—linear, 2D—cylindrical, and 3D—spherical. The maximal achievable magnetic field strength for 1D structures—is 2B, for 2D—is B log(R_(o)/R_(i)), and for 3D is (4/3)B log(R_(o)/R_(i)), where B is the maximum achievable magnetic field for an anisotropic structure and R_(o) and R_(i) are the outer and inner radiuses of cylinders and/or spheres. This shows that 3D structures deliver the highest possible magnetic field: they are superior to 2D by a factor of 4/3, which increases sensitivity by almost a factor of 2!

At the same time, 3D structures require joining an enormous number of magnetized pieces, compared to 2D and 1D structures. They may be almost impossible to build in the case of small-sized, portable magnets, or they may not achieve the desired magnetic field because the process of gluing and joining reduces magnetic field strength.

In addition, one of the biggest disadvantages of low-field NMR spectrometers is the high fluctuation of their magnetic fields. If the magnets are small (of a size appropriate to a portable device), the intensity and direction of the external magnetic field may be adversely affected. Even turning a 1.5 T NMR spectrometer to an angle about six degrees perpendicular to the Earth's magnetic force lines will ruin any measurements, and the device will have to be recalibrated. Even a slight movement of the table on which a spectrometer is placed may significantly disturb the spectra generated. Another related difficulty is that currently available spectrometers usually require high temperature stability (of the order of 0.01° C.), which is incompatible with chemical production equipment and in-situ measurements in chemical reactions.

There are two well-known and widely-used primary approaches that improve the sensitivity of NMR measurements: multi-nuclear and multi-dimensional spectra acquisition and dynamic nuclear polarization (DNP).

The acquisition of multi-nuclear spectra usually requires one receiver coil for each type of nucleus and/or calibration of each spectrum to internal standards; this requirement makes it impractical to fit currently available NMR spectrometers into smaller, portable devices.

The DNP method polarizes the spins of electrons in molecules. The normally random spins of the many electrons situated around the nuclei being investigated blur the nuclei's response. DNP forces all electron spins to point in the same direction, enhancing the NMR response from non-zero-spin isotopes. This well-known, widely-established method was first developed by Overhauser and Carver in 1953, but at that time, it had limited applicability for high-frequency, high-field NMR spectroscopy due to the lack of microwave (or gigahertz) signal generators. The requisite generators, called gyrotrons, are available today as turn-key instruments, and this has rendered DNP a valuable and indispensable method, especially in determining the structures of various molecules by high-resolution NMR spectroscopy. However, gyrotrons remain cost-prohibitive because they require expensive components, i.e. high-voltage generators, independent permanent magnetic field generators, and deep vacuum devices such as turbomolecular pumps.

Currently, chemical analysis, particularly portable and benchtop analysis, is usually associated with chromatography devices. Chromatography is a laboratory technique for the separation of a mixture. The mixture is dissolved in a fluid called the mobile phase, which carries it through a structure holding another material called the stationary phase. The various constituents of the mixture have different partition coefficients and thus travel at different speeds, causing them to separate. Separated components are then flowed past a detector that is usually based on either conductivity or optical (UV, IR) absorption measurements. In some very rare cases, NMR may be used as detector or in parallel with a standard optical detector, but this is very restricted in application due to high equipment costs.

Chromatography has better sensitivity than NMR, but is less informative as the response of a chromatograph comprises only a retention time; no additional information about chemical composition is available. If the substance(s) in the mixture are unknown and need to be characterized, one must perform many different measurements, most likely with different chromatography columns and mobile phases, to conclusively identify the components.

In contrast, if NMR analysis is performed on one unknown substance, then a multidimensional NMR spectrum usually is sufficient to get all the information necessary for its identification, including not only its atomic composition but also the real spatial distribution of atoms in the molecule.

The straightforward combination of chromatography for separation with currently available NMR spectrometers for characterization is hindered by the inherent flaws of both methods: separation on a chromatographic column usually takes long periods of time (hours), and there is almost no control over how components separate; furthermore, the separated components are then flowed over the detector, remaining situated in the detector for only a few seconds (or even milliseconds). The vast majority of the time, the detector is filled with a known substance the mobile phase. NMR detection itself requires a long time, usually hours, so that said straightforward combination of chromatography for separation with currently available NMR spectrometers requires slowing down the flow speed by several orders. These measurements occur on a timescale of several days or even weeks that is unrealistic in regards to commercial applications.

Taken together, prospective inventors of a portable NMR spectrometer for industrial environments and/or MRI devices must overcome the following problems:

-   -   construct a signal acquisition scheme that is stable despite         fluctuations of the permanent magnetic field and/or of the         signal generator, or that can work without a signal generator;     -   use NMR to detect all (or most) visible, non-zero-spin isotopes         that are present in the investigated area;     -   construct a new device as a DNP polarizer that does not require         high voltage generators, expensive deep vacuum devices such as         turbomolecular pumps with size constrains, that that preferably         use the same permanent magnetic field as the NMR transmitters;     -   construct compact magnets with Halbach or Halbach-like         structures that have better magnetic field strengths and are         resistant to large temperature range;     -   find an appropriate solution for using chromatography in         conjunction with NMR to leverage the advantages of both methods.

SUMMARY

The invention is comprised of the following technological components:

-   -   1. Enhanced multi-nucLEar Generation, Acquisition, and Numerical         Treatment of Nuclear Magnetic Resonance spectra (ELEGANT NMR) is         a processing method for signal transformation that delivers         real-time intermediate data, is stable to carrier frequency         fluctuations, and in the particular case of NMR/MRI applications         is also stable to magnetic field fluctuations.     -   2. Real-time method for processing signals from a repeating         processing method.     -   3. Electron Larmor Microwave Amplifier THReaded On Nuclei         (ELMATHRON) is an apparatus to generate an amplitude-modulated         microwave beam.     -   4. A new method of constructing predetermined magnets from         appropriate magnetic material that allows for focusing the         magnetic field in a target region.

The above-mentioned technological components, alone or in combination, render the following devices and systems possible:

-   -   1. Compact and portable in-situ NMR spectrometers that can be         dipped in the fluid to be measured and are easily maintained,         with affordable coil constructions and/or with DNP enhancement,         together with an apparatus to recover depleted magnets.     -   2. Chromatography detectors incorporated into a separation         column (including but not limited to HPLC and uHPLC) and/or         chemical flow detectors, real-time switches, and         executive/actuator devices enabling but not limited to detection         in tube.     -   3. Droplet size distribution measurements.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 : A processing method to convert: FIG. 1A wide-band signals f₁(t), . . . , f_(C)(t) having one or several carrier frequencies; FIG. 1B wide-band NMR signals s4.

FIG. 2 : A processing method to generate: FIG. 2A table H={h_(ks)}_(k,s) ^(KS) ^(L) =1′ spectra responses p_(nj)(t), n=1, . . . , N, j=1, . . . , J, and an estimate of the total number of non-zero-spin isotopes N; FIG. 2B intermediate data λ_(k)(t), k=1, . . . , K for further spectrum generation from all non-zero-spin isotopes with reference table H; FIG. 2C intermediate data r_(nj) ²(t) n=1, . . . , N, j=1, . . . , J for further spectrum generation from all non-zero-spin isotopes with reference table H.

FIG. 3 : A processing method to convert wide-band NMR signals s4 with correlated oscillators s10.

FIG. 4 : A processing method to convert a set of continuously measured experiments delivering u_(lnj)(t), l=1, . . . , L, n=1, . . . , j=1, . . . , J from one set of NMR receivers by collecting several measurements, performing (f10) and (f11) transformations, and solving a minimization (f12) using computational unit s14.

FIG. 5 : A processing method to convert a set of continuously measured experiments delivering r_(nj) ²(t), n=1, . . . , N, J=1, . . . , J from one (or one set of) NMR receiver(s) by collecting several measurements and solving a minimization (f16) using computational unit s16.

FIG. 6 : A processing method to convert a set of simultaneously measured experiments delivering r_(nj) ²(t), n=1, . . . , N, j=1, . . . , J and solving a minimization (f16) using computational unit s16.

FIG. 7 : A processing method to convert a set of continuously measured experiments delivering g_(sj)(t), s=1, . . . , S_(L), j=1, . . . , J from one (or one set) of NMR receiver(s) by collecting several measurements and simultaneously solving minimizations (f15) and (f17) using computational unit s20.

FIG. 8 : A processing method to convert a set of simultaneously measured experiments delivering g_(sj)(t), s=1, . . . , S_(L), j=1, . . . , J and simultaneously solving minimizations (f15) and (f17) using computational unit s20.

FIG. 9 : A real-time database method.

FIG. 10 : The Electron Larmor Microwave Amplifier THReaded On Nuclei (ELMATHRON).

FIG. 10A refers to the main assembly, FIG. 10B shows in detail the top portion, and FIG. 10C shows in detail the printed lines on tube e9 on the bottom of the ELMATHRON.

FIG. 11 : A waveform with amplitude modulation produced by ELMATHRON. This is a representative schematic, as the actual total number of waves inside a pulse is usually larger than shown in the picture and depends on nuclei and pulse type.

FIG. 12 : Six coils situated on the edges of a parallelepiped (three-dimensional figure formed by six parallelograms). The total number of turns for each coil may be two or more. The numbers of turns on coils within each subset {1, 2, 3, 4} and {5, 6} are equal, i.e. coils 1-4 must be the same and coils 5-6 must also be the same, but coils 1-4 can differ from coils 5-6. The optimal number of turns in each subset depends on the dimensions of the device, the magnetic field's strength, and the electronics used. Depending on the embodiment, each coil subset may be comprised of transmitting and/or receiving coils.

FIG. 13 : ELEGANT NMR spectrometer embodiment for in-situ measurements, where FIG. 13A refers to the complete assembly, FIG. 13B refers to the component containing the electronics, FIG. 13C refers to the sensor block for performing measurements in a fluid flow, FIG. 13D refers to the sensor block when dipped in fluid to be measured, and FIG. 13E demonstrates how the dipped sensor may be constructed to be suitable for standard ground glass joints (this embodiment can be constructed with or without the ELMATHRON and refers to FIGS. 13-14 ).

FIG. 14 : ELEGANT NMR spectrometer embodiment for in-situ measurements enhanced by ELMATHRON a4, where FIG. 14A refers to the complete assembly, FIG. 14B demonstrates the connection of receiver coils a25 along magnets (a23 and a24), FIG. 14C refers to the sensor block for performing measurements in a fluid flow, and FIG. 14D refers to the sensor block when dipped in fluid to be measured.

FIG. 15 : Embodiments for ELEGANT NMR spectrometer for in-situ measurements with (FIGS. 15A-15B) and without (FIGS. 15C-15D) the ELMATHRON characterizing from the embodiments in FIGS. 13-14 in having a magnet structure with better access of the receiver coil(s) and/or NMR detector(s) to the measured fluids, albeit lower magnetic field strength. FIG. 15E demonstrates how a dipped sensor may be constructed so as to be suitable for standard ground glass joints (this embodiment can be constructed with or without the ELMATHRON).

An important difference of these embodiments (FIG. 15 ) from that in FIGS. 13-14 is that the shape of magnet a1 may curve inward or have any other shape that improves total magnetic field strength and smoothness and is also appropriate for embodiments both with and without ELMATHRON.

FIG. 16 : ELEGANT NMR spectrometer embodiment with encapsulated permanent magnets a1 and one ELMATHRON a4 emitting diffracting waves over its diffraction grating e7. Fluid sample is supplied continuously through the tube or capillary or chromatography column a2. FIG. 16A shows a side view, and FIG. 16B shows top and bottom views.

FIG. 17 : ELEGANT NMR spectrometer embodiment with encapsulated permanent magnets a1 and two ELMATHRONs a4 emitting diffracting waves a9. Fluid sample is supplied continuously through the capillary or chromatography column a2. FIG. 17A shows a side view, and FIGS. 17B-17C show top and bottom views. Several other embodiments can be considered: magnet a3 may take different shapes/forms (FIG. 17B with vertical cylinder and FIG. 17C with horizontal cylinder) such that its permanent magnetic field covers the large area where the capillary or chromatography column a2 is situated; a6 may be coils and/or optical NMR detectors; and instead of one or all ELMATHRONs, a transmitter coil situated in parallel with a6 may be used.

FIG. 18 : ELEGANT NMR spectrometer embodiment with ELMATHRON a4 capable of working in an external magnetic field a26 (from permanent magnets or superconductor coil(s)). Fluid sample is supplied continuously through the capillary or tube or chromatography column a2. FIG. 18A shows a side view, and FIG. 18B is a detailed view of the capillary/tube/column a2, receiver coils a6, and receiver electronic PCBs a3.

FIG. 19 : Droplet size distribution measurement of a sample with two phases. The same picture demonstrates how magnetization from the stationary phase is transferred to the mobile phase in the case where a chromatography column with incorporated NMR sensors is used.

FIG. 20 : Magnetic Resonance Non-Invasive Blade as well as Magnetic Resonance Non-Invasive Beam (MR. NIB) system for real-time MRI and/or real-time non-invasive surgical applications together with real-time guidance and optionally unmanned operation.

FIG. 21 : A magnet assembly with linear anisotropic (FIG. 21A) and nearly-optimal (FIG. 21B) magnetic polarization and the corresponding contour-plot of magnetic field strength of an area between magnets.

FIG. 22 : A magnet assembly with linear anisotropic magnetic polarization for NMR spectrometers without ELMATHRON.

FIG. 23 : A magnet assembly with linear anisotropic magnetic polarization for NMR spectrometers with ELMATHRON.

FIG. 24 : A magnet assembly with nearly-optimal magnetic polarization for NMR spectrometers without ELMATHRON.

FIG. 25 : A magnet assembly with nearly-optimal magnetic polarization for NMR spectrometers with ELMATHRON.

FIG. 26 : A magnet assembly for a side-NMR embodiment with nearly-optimal magnetic polarization for NMR spectrometers without ELMATHRON.

FIG. 27 : A magnet assembly for a side-NMR embodiment with nearly-optimal magnetic polarization for NMR spectrometers with ELMATHRON.

FIG. 28 : A magnetic alloy, comprising:

-   -   (a) crystals of Co—Fe and/or Sm—Co magnetic alloys;     -   (b) crystals of Mn—Bi and/or Mn—Al and/or any other bismuth         based magnetic alloys;     -   (c) low-melting metals that are able to make low-temperature         liquids with (b), wherein a material phase of the alloy is         metallic.

FIG. 29 : A processing and an apparatus for pressing anisotropic magnetic powder into permanent magnets with non-uniform magnetic polarization. This figure additionally demonstrates one example of magnetic structures with a magnetic area that forces particles of magnetic powder to remain oriented in the prescribed direction.

FIG. 30 : A processing method and an apparatus for final magnetization.

FIG. 31 : A processing method and an apparatus for casting permanent magnets with non-uniform magnetic polarization. This apparatus may incorporate the capability to perform a final magnetization step.

REFERENCE NUMERALS

s1: Linear filters and/or delay lines. If one or several elements of this block are implemented with digital signals, a corresponding numerical approximation may be used.

s2: A set of mixers with each mixer receiving a pair of signals (f_(l) ₁ (t), f_(l) ₂ (t)), l₁, l₂=1, . . . , S_(L) and delivering its product.

s3: Low-pass filter block that is used in parallel with all passed signals.

s4: Receiver coil or optical receiving detector.

s5: One or more sequentially-connected amplifiers.

s6: A processing block that converts g_(s)(t), s=1, . . . , S_(L) to a table H, spectra responses p_(nj) (t), n=1, . . . , N, j=1, . . . , J, and estimate of the total number of non-zero-spin isotopes N, solving minimization problem (f5).

s7: Mixer and summator block that performs operation (f10).

s8: Mixer and summator block that performs operation (f10) in the case where no long delay lines are used.

s9: A marker a substance/mixture containing at least one non-zero-spin isotope with a priori known spectra and concentration that is either:

-   -   situated in the measured substance, or     -   incorporated as the reference unit inside coils s4, or     -   incorporated in the walls of the measuring NMR camera.

s10: One or several frequency generators and their signals, delayed on ¼ period. Each frequency generator has fixed ratio (a_(n)/b_(n)) to the main frequency generator.

s11: A set of mixer pairs with each mixer pair receiving a pair of signals (f_(l)(t), Re(v_(n)(t))) or (f_(l)(t), Im(v_(n)(t))) and delivering their products.

s12: A processing block that incorporates the method described in FIG. 3 .

s13: A block that continuously supplies pipeline data u_(lnj) (t), l=1, . . . , L, n=1, . . . , N, j=1, . . . , J from s12 into local storage and delivers it to processing block s14.

s14: A processing block that solves minimization problem (f12).

s15: A processing block that incorporates the method described in FIG. 1 followed by the method from FIG. 2 .

s16: A processing block that solves minimization problem (f16).

s17: A block that continuously supplies pipeline data r_(nj) ²(t), n=1, . . . , N, j=1, . . . , J from s15 into local storage and delivers said data to processing block s16.

s18: A block that gathers data r_(nj) ²(t), n=1, . . . , N, j=1, . . . , J from several blocks s15 and delivers said data to processing block s16.

s19: A processing block that incorporates the method described in FIG. 1 .

s20: A processing block that simultaneously solves minimizations (f15) and (f17).

s21: A block that continuously supplies pipeline data g_(sj)(t), s=1, . . . , S_(L) from s19 into local storage and delivers said data to processing block s20.

s22: A block that gathers data g_(sj)(t), s=1, . . . , S_(L), j=1, . . . , J from several blocks s19 and delivers said data to processing block s20.

s23: Real-time intermediate data generator and sensor.

s24: Non-real-time action generator.

s25: Non-real-time database updater.

s26: Real-time database searcher.

s27: Real-time action.

e1: A spring that ties tube e9 and plug e4 so that they remain at the same positions relative to the vessel of ELMATHRON e2.

e2: Hermetically-sealed glass and/or ceramic case/vessel of the ELMATHRON, preferably without any via/hole for power/energy supply and vacuum supply.

e3: The getter.

e4: A plug with a non-conductive wave reflector e8 at the bottom.

e5: Shielding situated/printed on the outer side of tube e9, which reduces undesirable electromagnetic emission.

e6: The anode constructed as a thick, monolithic layer on the inner side of tube e9.

e7: Diffraction grating.

e8: The wave reflector, constructed as a cone, a flat, or a focusing/collecting mirror, or other shape of mirror such that some part of the emitted waves may be reflected back to cathode e13 to accelerate the cathode's electron emission.

e9: Glass and/or ceramic tube situated inside the hermetically-sealed ELMATHRON's vessel e2; its outer diameter should be as close as possible to, but a little bit smaller than, the inner diameter of the vessel e2, preferably with printed traces on the inner and outer surfaces. The tube walls should be as small as possible, but only large enough to be resistant to the peak voltage that occurs at the secondary winding e16 during operation.

e10: An external system or device that provides the permanent magnetic field.

e11: Several parallel traces situated along the main axis of the ELMATHRON's vessel e2 and printed/placed on the tube e9. All of the traces on one side are smoothly connected to each other and to the secondary winding e16, while those on the opposite side are connected to the diffraction grating e7.

e12: Depending on the embodiments, this may be:

-   -   a feedback control to sustain the cathode e13 at a predetermined         temperature, and/or     -   an electromagnetic beam to heat the cathode e13, and/or     -   an electromagnetic beam to accelerate electron emission from the         cathode e13.

e13: The cathode, constructed of tungsten or any other high-melting metal or alloy; electrically, the cathode behaves as a shorted turn if heating of the cathode is performed by inductive and/or electromagnetic methods. It may be covered by a substance to accelerate electron emission.

e14: A primary winding of a cathode heater.

e15: The getter block, which serves as an ion pump.

e16: The secondary winding of the forward converter, with coils on the inner and outer sides of the tube e9. The sides may have windings with different numbers of turns, or one side (inner or outer) may have no windings with a straight conductive line or any other connection that does not act as a shorted turn.

e17: Several parallel primary windings of the forward converter. Preferably, each winding is printed on one PCB together with its powering electronics, and these PCBs are stacked atop each other.

e18: Power supply and control unit for e17.

e19: Power supply and control unit for e14, with feedback control (optical or infrared) to prevent overheating of the cathode e13.

a1: Permanent magnet(s). The magnets may have cylinder shapes with horizontal axes as shown in FIG. 17C, or any other shapes that permit better placement of the capillary/tube/column a2: while also supporting a magnetic field of sufficient strength covering where measurements occur and where the ELMATHRON vessels are situated.

a2: Capillary or tube or chromatographic column with investigated substance.

a3: PCB with receiver electronics.

a4: The ELMATHRON vessel.

a5: Power supply and control unit of the ELMATHRON.

a6: Receiver coils and/or optical NMR detectors situated on/in/over the capillary/-tube/column a2.

a7: Permanent magnet boundaries; permanent magnets a1 are situated one over and one under the capillary/tube/column a2, PCB a3, and receiving coils a6.

a8: Permanent magnets of the ELMATHRON; these magnets may be incorporated in the main magnet assembly a1.

a9: Interference waves from ELMATHRONs.

a10: Thermostat connectors: cooling/heating fluid is dispersed over these connectors to control the temperature of the electronics inside the device.

a11: Area inside the ELEGANT NMR spectrometer with constant temperature controlled by fluid thermostatting.

a12: Screw threads to screw the block with magnets a16 to the block with electronics a15.

a13: Plugs that connect the coils (a20 or a25) to the electronics a14.

a14: PCB assembly with transmitter and receiver electronics. In the case of a thermostat connection being used, the PCBs should be coated with appropriate materials to prevent damage by fluid thermostatting.

a15: Main case of the device, housing the electronics a14.

a16: The case for the block with magnets.

a17: Gasket for hermetic connection.

a18: Data and power supply connector.

a19: Wires to connect plug(s) a13 with coil(s) a20 or a25.

a20: Receiver and transmitter coil assembly, one embodiment of the coils assembly described in FIG. 12 .

a21: Hermetically-sealed non-conductive case that is connected and incorporated into the magnetic block a16 and that allows electromagnetic waves to penetrate and generate inductive and/or electromagnetic coupling from a14 to a4.

a22: Flow connectors. One can connect tubes to perform measurements in flow. In the case of the solid-state and NMR tube detector embodiment being used, said connectors should allow an external tube to be placed inside the measurement area and associated coils.

In the case of the embodiment with ELMATHRON being used, said connectors may be asymmetrical in order to fulfill conditions on the placement of the external tube.

a23: Permanent magnet in the form of a cylinder with an inner diameter slightly larger than the outer diameter of the ELMATHRON vessel a4. Between the ELMATHRON vessel and this magnet, a special gasket may be installed to keep this connection hermetic and to ensure that the glass/ceramic case of the ELMATHRON is not broken through mechanical vibrations and/or temperature expansion from the magnet cylinder.

a24: A permanent magnet in the form of a cylinder with an inner diameter slightly larger than the outer diameter of the magnet a23. Wires a19 are situated between said magnet cylinders a23 and a24. The magnets a23 and a24 may be hermetically coupled, in which case a special gasket should be installed between a23 and a24.

a25: Receiver coils and/or optical NMR detectors.

a26: External magnetic field generated by permanent magnets or superconductor magnets.

a27: Ground glass joint.

d1: A transmitting wave is absorbed by droplet or stationary phase material.

d2: Droplet or stationary phase material emitting the same frequency wave or carrier frequency wave spectrum as absorbed in d1.

d3: A transmitting wave is absorbed by solution or mobile phase material.

d4: Solution or mobile phase material emitting the same frequency wave or carrier frequency wave spectrum as absorbed in d3.

d5: A transmitting wave is adsorbed by material situated on the surface of a droplet or a stationary phase.

d6: Solution material previously excited by magnetization transfer as in d7 emits a different frequency wave than was adsorbed in d5.

d7: Excited material on the surface of a droplet or a stationary phase transfers its magnetization to solution or mobile phase materials situated near the surface of the droplet.

n1: A plurality of permanent magnets with the potential for changing the direction and intensity of the magnetic field by mechanical movements (coarse tune) and by electromagnetic coils (fine tune).

n2: Receiver coils.

n3: PCBs with receiver electronics.

n4: ELMATHRON vessel(s).

n5: Power supply and control units of ELMATHRON(s) (controlled in parallel with receivers) with additional potential for changing the orientation and position of ELMATHRON(s) to change the directions of their beam(s).

n6: Non-uniform magnetic field formed by n1.

n7: Electromagnetic beam(s) from the ELMATHRON(s).

g1, g2: Permanent magnets with linear anisotropic magnetization for NMR spectrometers without ELMATHRON.

g3, g4: Permanent magnets with linear anisotropic magnetization for NMR spectrometers with ELMATHRON.

g5, g6: Permanent magnets with linear anisotropic magnetization for MR. NIB technology.

g7, g8: Permanent magnets with nearly-optimal magnetic polarization for NMR spectrometers without ELMATHRON. Top and bottom boundaries may be flat or some other shape to fit better into the mechanical assembly and/or for better access of the receiver coil(s) and/or NMR detector(s) to the measured fluids.

g9, g10: Permanent magnets with nearly-optimal magnetic polarization for NMR spectrometers with ELMATHRON. Top and bottom boundaries may be flat or some other shape to fit better into the mechanical assembly and/or for better access of the receiver coil(s) and/or NMR detector(s) to the measured fluids.

g11, g12: Permanent magnets with nearly-optimal magnetic polarization for MR. NIB technology. Top and bottom boundaries of both g11 and g12 magnets may be flat or some other shape to fit better into the mechanical assembly.

g13: Receiver and transmitter coils assembly, one embodiment of the coils assembly described in FIG. 12 .

g14: Receiver coils or optical NMR detectors.

g15: The ELMATHRON vessel.

g16: Contour plot of a vertical magnetic field strength projection using permanent magnets with linear anisotropic magnetization in MR. NIB technology.

g17: Contour plot of a vertical magnetic field strength projection using permanent magnets with nearly-optimal magnetization in MR. NIB technology.

g18: Molding tool.

g19: Molding matrix.

g20: Magnetic powder with anisotropy.

g21: A set of one or several:

-   -   permanent magnets, and/or     -   ferromagnetic materials, and/or     -   permanent electromagnets, and/or     -   superconductor electromagnets, and/or     -   any other non-magnetic materials, and/or     -   permanent magnet(s) previously manufactured with the same         technology.

g22: One or several coils for the generation of a permanent magnetic field, consisting of a foil of good-conducting metal. The total amount of winding in these coils should be sufficient to generate a permanent magnetic field of at least the same strength as the magnetic field delivered by nearly-optimal anisotropically manufactured (sintered, casted, pressed, etc.) magnets.

Construction of said coils may be accomplished with one coil or several sections of coils, including coils with different and/or opposite directions.

These coils should be connected over an electronic or mechanical switch to one or several capacitors, and/or super-capacitors, and/or batteries, and/or power supply units connected in parallel, which should be capable of delivering enough current so that the coils are able to generate a permanent magnetic field of at least the same strength as the magnetic field delivered by anisotropic magnets.

g23: Upper side of a device that prevents the magnetic material g25 from migrating up during final magnetization. It may comprise additional joints (not shown in the figure) that are strong enough to withstand the force between manufactured magnet g25 and coil(s) g22.

g24: The case of a device that prevents the magnetic material g25 and coils from migrating during final magnetization.

g25: Manufactured magnetic material prepared for final magnetization.

g26: One or several coils for the generation of a permanent magnetic field and/or heat, consisting of a foil of good-conducting metal. The melting point of said metal or parts of said coils situated close to g25 should be above the casting temperature.

Construction of said coils may be accomplished with one coil or several sections of coils, including coils with different and/or opposite directions.

These coils should be connected over an electronic or mechanical switch to one or several capacitors, and/or super-capacitors, and/or batteries, and/or power supply units connected in parallel, which should be capable of delivering enough current so that the coils are able to generate a permanent magnetic field of at least the strength produced by magnetic material casted anisotropically.

g27, g28: Upper side and case of a device that holds casted magnets and coils and may contain one or several temperature sensors.

g29: Additional fluid cooling that may be necessary to regulate temperature during casting and to ensure appropriate magnetic field strength.

g30: Casting magnetic material.

g31: The same coils as g26, which additionally may have the potential to generate inductive heating for g30 on the stage in order to increase the temperature and melting of material in g30.

g32: Crystals of Co—Fe and/or Sm—Co magnetic alloys.

g33: Crystals of Mn—Bi and/or Mn—Al and/or any other bismuth based magnetic alloys.

g34: Low-melting metals (In, Bi, Sn, Ga, Tl, Cd, Zn, Pb, Te and others) that are able to make low-temperature liquids with g33.

g35: Alternative embodiment (to g8) for permanent magnets with nearly-optimal magnetic polarization for NMR spectrometers without ELMATHRON.

g36: Alternative embodiment (to g10) for permanent magnets with nearly-optimal magnetic polarization for NMR spectrometers with ELMATHRON.

g37: Additional magnet for FIGS. 15A-15B embodiments that improve magnetic field strength.

DETAILED DESCRIPTION

Elegant NMR

The Enhanced multi-nucLEar Generation, Acquisition, and Numerical Treatment of Nuclear Magnetic Resonance spectra (ELEGANT NMR) is a processing method constructed according to the following scheme.

Consider FIG. 1B: One or several wide-band coils and/or optical detectors s4 receive very weak signals that are usually amplified by one or more sequential amplifiers s5. The signals are abbreviated as f_(l)(t), l=1, . . . , C, where C is the total count of input signals and t is the time domain variable of the measurements. These signals are forwarded to a block s1 of several linear filters and/or delay lines. These linear filters and delay lines may be comprised of passive components or operational and/or differential amplifiers and/or other analog circuits, or may be completely implemented digitally. The resulting signals are abbreviated as f_(l)(t), l=C+1, . . . , L. Each linear filter or delay line has one input and one output, acts on only one input signal, and delivers one output signal. All input signals may participate in the generation of signals after block s1 and, for practical reasons, L should be as small as possible without compromising the quality of the results upon a priori conditions, which will be discussed later. The case where C=L (no linear filters and no delay lines) is also possible.

All f_(l)(t),l=1, . . . , L signals are forwarded pairwise to the mixer block s2. The same pairs of signals may be used, but are not counted hereafter. A subset of all possible pairs may be used. The total number of different mixers is denoted as S_(L) and it is, by definition,

$S_{L} \leq {\frac{L\left( {L + 1} \right)}{2}.}$ The resulting signals from each mixer are forwarded over a low-pass filter s3 and abbreviated as g_(s)(t), where s=1, . . . , S_(L) is the index of the mixer. An input pair of each s-th mixer refers to

(f_(ξ_(s)⁽¹⁾)(t), f_(ξ_(s)⁽²⁾)(t)), where ξ_(s) ⁽¹⁾, ξ_(s) ⁽²⁾=1, . . . , L. The resulting signals g_(s)(t), by construction, are sufficient for reconstructing the pure spectra of all non-zero-spin isotopes (one input/coil setup in FIG. 1 ) and the spatial distribution of these spectra (multi-input/multi-coil setup in FIG. 1 , for example, for MRI).

Assume a pure spectrum of each n-th non-zero spin isotope (n=1, . . . , N) of the investigated substance is written as:

$\begin{matrix} {{{p_{n}(t)} = {{\sum\limits_{m = 1}^{M_{n}}{A_{nm}e^{{i\omega_{nm}t} + {ib}_{nm}}}} \in {\mathbb{C}}}},A_{nm},{b_{nm} \in {\mathbb{R}}},{\omega_{nm} \in {\mathbb{C}}},{{p_{n}(t)} = {{r_{n}(t)}e^{i{\theta_{n}(t)}}}},{{r_{n}(t)} = {❘{p_{n}(t)}❘}},{r_{n}(t)},{{\theta_{n}(t)} \in {\mathbb{R}}}} & ({f1}) \end{matrix}$

where A_(nm) are amplitudes, b_(nm) are phases, and ω_(nm) are resonance responses in the n-th non-zero-spin isotope spectrum. Additionally, assume that in a given magnetic field, the carrier frequency (Larmor frequency) of the n-th non-zero-spin isotope is W_(n). The signal collected by the wide-band receiver coil/optical detector is then written as:

$\begin{matrix} {{\sum\limits_{n = 1}^{N}{{Re}\left( {e^{{iW}_{n}t}{p_{n}(t)}} \right)}},} & ({f2}) \end{matrix}$

where Re(x) and Im(x) are the real and imaginary components of the complex number x. Taking into account that W_(n)>>ω_(nm), linear filters and/or delay lines transform the signal (f2) to:

$\begin{matrix} {{{f_{l}(t)} = {{\sum\limits_{n = 1}^{N}{Q_{\ln}{{Re}\left( {e^{{iW}_{n}t}e^{i\beta_{\ln}}{p_{n}\left( {t + \delta_{l}} \right)}} \right)}}} = {\sum\limits_{n = 1}^{N}{{r_{n}\left( {t + \delta_{l}} \right)}Q_{\ln}{{Re}\left( e^{{{iW}_{n}t} + {i\beta_{\ln}} + {i{\theta_{n}({t + \delta_{l}})}}} \right)}}}}},} & ({f3}) \end{matrix}$

where

-   -   Q_(ln)∈         and β_(ln)∈         are filter parameters in the case of linear filters being         applied (δ_(l)=0),     -   δ_(l) is a delay in the delay line (Q_(ln)=1 and         β_(ln)=W_(n)δ_(l)).

Blocks with arbitrary δ_(l), Q_(ln), and β_(ln) can be also considered.

It is also evident that if two delay lines with delays δ₁ and δ₂ are used in the mixer block s2, this is equivalent to forwarding the original signal from the block s4 and the signal with delay |β₁-δ₂| to said mixer, and thus this scenario is not further considered.

Hereafter, the short delay line refers to delays much less than one period of any ω_(nm), and the long delay line refers to all other delays. In the case of a linear filter or short delay line being used, formula (f3) may be considered as

$\begin{matrix} {{{f_{l}(t)} = {{\sum\limits_{n = 1}^{N}{Q_{\ln}{{Re}\left( {e^{{iW}_{n}t}e^{i\beta_{\ln}}{p_{n}(t)}} \right)}}} = {\sum\limits_{n = 1}^{N}{{r_{n}(t)}Q_{\ln}{{Re}\left( e^{{{iW}_{n}t} + {i\beta_{\ln}} + {i{\theta_{n}(t)}}} \right)}}}}},} & ({f4}) \end{matrix}$

because p_(n)(t)≃p_(n)(t+δ_(l)) if δ_(l) is much less than any ω_(nm).

Each pair

(f_(ξ_(s)⁽¹⁾)(t), f_(ξ_(s)⁽²⁾)(t)) of these signals (f3), forwarded over a mixer and then over a low-pass filter, is described as:

$\begin{matrix} {{g_{s}(t)} = {\sum\limits_{n = 1}^{N}{Q_{\xi_{s}^{(1)}n}Q_{\xi_{s}^{(2)}n}{r_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)}{r_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}\left\{ {{{\cos\left( {\beta_{\xi_{s}^{(1)}n} - \beta_{\xi_{s}^{(2)}n}} \right)}{\cos\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)}} - {{\sin\left( {\beta_{\xi_{s}^{(1)}n} - \beta_{\xi_{s}^{(2)}n}} \right)}{\sin\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)}}} \right\}}}} & ({f5}) \end{matrix}$

Now consider

$\begin{matrix} {{{r_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)}{r_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}{\cos\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)}},{and}} & ({f6}) \end{matrix}$ $\begin{matrix} {{r_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)}{r_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}{{\sin\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)}.}} & ({f7}) \end{matrix}$

Some terms in (f6) and (f7) may be equal to each other, for example in the case where a small δ is used, and in other above-mentioned cases. These terms may be enumerated by the index k=1, . . . , K and assumed as λ_(k)(t), so that equation (f5) transforms to

$\begin{matrix} {{{g_{s}(t)} = {\sum\limits_{k = 1}^{K}{{\hat{h}}_{sk}{\lambda_{k}(t)}}}},{s = 1},\ldots,S_{L}} & ({f8}) \end{matrix}$

where ĥ_(sk) is constructed as the corresponding terms

$\begin{matrix} {{Q_{\xi_{s}^{(1)}n}Q_{\xi_{s}^{(2)}n}{\cos\left( {\beta_{\xi_{s}^{(1)}n} - \beta_{\xi_{s}^{(2)}n}} \right)}},{Q_{\xi_{s}^{(1)}n}Q_{\xi_{s}^{(2)}n}{\sin\left( {\beta_{\xi_{s}^{(1)}n} - \beta_{\xi_{s}^{(2)}n}} \right)}}} & ({f9}) \end{matrix}$

according to said enumeration of λ_(k)(t).

Taking into account that only S_(L) pairs of

(f_(ξ_(s)⁽¹⁾)(t), f_(ξ_(s)⁽²⁾)(t)) are available, the matrix Ĥ={ĥ_(sk)}∈

S_(L)×K is constructed, with H={h_(ks)}∈

K×S_(L) it as a pseudo-inverse matrix of Ĥ, i.e. HĤ=I, where I∈

K×S_(L) an identity matrix. The computation of H can be performed on any appliance unit using well-known algorithms based on a singular value decomposition (SVD).

Hence, the set of g_(s)(t), s=1, . . . , S_(L) may be transformed to the set of λ_(k)(t) using just one real-time matrix-by-matrix multiplication block s7 (FIG. 2B):

$\begin{matrix} {{{\lambda_{k}(t)} = {\sum\limits_{s = 1}^{S_{L}}{h_{ks}{g_{s}(t)}}}},{{\forall k} = 1},\ldots,K,} & ({f10}) \end{matrix}$

and this block may be implemented with digital and/or analog signals.

In the case where λ_(k)(t) refers to the appropriate term of (f6) on which the s-th pair of (f5) has no long delay lines, λ_(k)(t) refers to r_(n) ²(t) with corresponding index n and the term (f7) is always equal to zero, so the set of g_(s)(t), s=1, . . . , S_(L) is transformed to the set of r_(nj) ²(t) by one real-time matrix-by-matrix multiplication block s8 as is demonstrated in FIG. 2C.

Hence, by this construction, r_(n)(t)

-   -   is weakly dependent on fluctuations in the permanent magnetic         field,     -   is generated with several microsecond delays after the initial         signal appears,     -   already contains enough information for MRI and can be         transformed to pure NMR spectra, and     -   r_(n)(t) does not require long delay lines and precise         oscillators for its generation.

Now consider that all r_(n)(t),n=1, . . . , N are generated from a subset of λ_(k)(t). Then, the remaining subset of λ_(k)(t), according to definitions in (f6) and (f7), has only the unknown terms

$\begin{matrix} {{{\cos\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)}{and}}{{\sin\left( {{\theta_{n}\left( {t + \delta_{\xi_{s}^{(1)}}} \right)} - {\theta_{n}\left( {t + \delta_{\xi_{s}^{(2)}}} \right)}} \right)},}} & ({f11}) \end{matrix}$

of which θ_(n)(t) may be computed by several arithmetic operations involving arcsin and arccos, or approximated by well-known least-squares or total least-squares minimization methods.

The generation of θ_(n)(t) (but not r_(n)(t)) is dependent on the magnetic field fluctuation and requires long delay lines that usually necessitate crystal oscillators.

When at least two different non-zero-spin isotopes and at least two receiving coils are available in the investigation area and both isotope responses affect the input signal, the magnetic field fluctuation is computed so that all pure isotope spectra are resistant to magnetic field fluctuations.

To do this, consider that θ_(inj)(t) is computed for all non-zero-spin isotopes (n=1, . . . , N), all receiving coils (j=1, . . . , J), and for several repetitions (i=1, . . . , I). The repetitions are collected for the same mixture from all receiving coils, but over different time durations.

Consider that the NMR receiving coils are made of different non-zero-spin isotopes; the NMR spectra of these coils are measured. This measurement may be done once upon calibration of the device, without any substance/mixture for measurement.

Consider that these spectra are computed and stored at {circumflex over (p)} _(nj)(t)=r _(nj)(t)e ^(i{circumflex over (θ)}) ^(nj) ^((t)).

Since the fluctuation of the magnetic field during measurement is random, but the fluctuation of the magnetic field of each isotope spectrum is the same, if collected simultaneously the following minimization may be considered:

$\begin{matrix} {{\min\limits_{{\psi_{n}(t)},{\varepsilon_{i}(t)}}{\int{\sum\limits_{i,n,j}{{{{{\overset{\sim}{\psi}}_{inj}(t)} - {\left( {{\hat{\psi}}_{nj} + {\psi_{n}(t)}} \right){\varepsilon_{i}(t)}}}}_{2}^{2}{dt}}}}},{{\psi_{n}(t)} = e^{i{\theta_{n}(t)}}},{{{\overset{\sim}{\psi}}_{inj}(t)} = e^{i{{\overset{\sim}{\theta}}_{inj}(t)}}},{{{\hat{\psi}}_{nj}(t)} = e^{i{{\hat{\theta}}_{nj}(t)}}},{{\varepsilon_{i}(t)} = e^{i{\epsilon_{i}(t)}}},} & ({f12}) \end{matrix}$

where θ_(n)(t) is the pure phase without fluctuation and ϵ_(i)(t) is the fluctuation of the magnetic field in the i-th measurement. An algorithm to compute θ_(n)(t) according to the minimization of (f12) is described in Appendix 1.

Hence, this approach provides a robust method for obtaining pure spectra including phase with good accuracy for any substance or mixture, even if the measured material contains only one non-zero-spin isotope.

A power series of large delay lines, based on δ,2δ,4δ . . . with dozen of entries, and

$\begin{matrix} {\delta \simeq {\frac{1}{100}{\min\limits_{nm}\omega_{nm}^{- 1}}}} & ({f13}) \end{matrix}$

is suggested as a good working example, but any other series of large delay lines with a similar range and distribution of δ may also provide appropriate results.

Alternatively, one or several periods of input signals of length (f13) may be stored and used several additional times to generate stored signal in digital and/or analog form for different δ upon the arrival of an input signal.

Consider that δ⁻¹ is roughly equal to the cutoff frequency of the low-pass filter s3, and during δ time the signal can be stored. Then several (not more than 20) storing blocks numbered sb=1, . . . are allocated, and each period of time of length δ is counted with the counter cnt=0, . . . . Then, if the condition cnt&((1<<sb)−1)==0, written according to C-language notation, is true, the current signal is stored into the sb-th block. Each time, all stored blocks are used as f_(l)(t) signals in the input of s2 (FIG. 1 ). This drastically saves component counts and allows the implementation of a robust and stable scheme for the computation of θ_(n)(t).

Many other techniques for generating δ may be used to provide a good balance between hardware resources and the total number of different δ values, which are determined by each particular implementation case.

To improve numerical stability during the computation of θ_(n)(t), the total least squares method or the following least squares method are suggested:

$\begin{matrix} {\min\limits_{\theta_{n_{k}}(t)}{\int{\sum\limits_{k}{{{{\lambda_{k}(t)} - {{r_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)}{r_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)}\left\{ {{\eta_{k}^{(1)}{\cos\left( {{\theta_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)} - {\theta_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)}} \right)}} + {\eta_{k}^{(2)}{\sin\left( {{\theta_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)} - {\theta_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)}} \right)}}} \right\}}}}_{v}^{v}{dt}}}}} & ({f14}) \end{matrix}$

in any ν-norm ∥⋅∥ν, with 1≤ν≤∞, where

-   -   η_(k) ⁽¹⁾=1 and η_(k) ⁽²⁾=0 if the cos term of (f6) is used,     -   η_(k) ⁽¹⁾=0 and η_(k) ⁽²⁾=1 if the sin term of (f7) is used,     -   ζ_(k) ⁽¹⁾ and ζ_(k) ⁽²⁾ are corresponding delays in long delay         lines in (f6) and (f7), and     -   n_(k) is the corresponding index of the n-th isotope in the         λ_(k)(t) term in (f6) and (f7).

There are many possible methods for choosing linear filters or delay lines, and for how the sequences of said linear filters and delay lines are forwarded to the mixers. The best implementation depends on hardware availability and properties. Larger numbers of linear filters or mixers may provide better signal stability. During the construction of blocks s1 and s2, the parameters of these blocks should provide entries for matrices H and Ĥ in such a way that the full numerical rank of H (and Ĥ) must be greater than or equal to the total amount of different non-zero-spin isotopes situated in the investigated/measurement area. The matrix Ĥ (and H) should be as close as possible to the identity matrix to save hardware resources during the implementation of blocks s1 and s2, and to provide numerical stability and accuracy.

Every signal in f, g, r, λ and h in the described method may be analog or digital. At any point in the process between blocks s1, s2, s3, s4, s5, s6, s7, s8, one or several analog to digital converters (ADCs) and/or one or several digital to analog converters (DACs) can be incorporated to convert between signal types. Any of the blocks s1, s2, s3, s5, s7 and s8 can be implemented through analog and/or digital means. In each particular case, the use of digital, analog, or a mix of digital and analog signals is dependent upon component counts, costs, accuracy, average signal frequency, and many other factors.

Additional attention should be given to the use of digital signals in blocks s1 and s3. Linear filters of digital signals may be implemented with finite difference, weighted sum methods, or linear subspace methods applied to the signals that are discretized in a time domain, including numerical approximation and numerical rounding-off. In this patent application, this type of approximation, i.e. finite difference, weighted sum methods, linear subspace methods, and other similar methods are considered in parallel to the linear filters and delay lines and deliver the results in a manner that is approximately equal to results achieved by linear filters and delay lines.

One additional feature of the ELEGANT NMR method stems from the generation of the table H={h_(ks)} during measurements, as is proposed in FIG. 2A at block s6 according to the solution of the minimization problem:

$\begin{matrix} \begin{matrix} {{\min\limits_{\substack{N,Q_{\xi_{s}^{(1)}n_{k}},Q_{\xi_{s}^{(2)}n_{k}},\beta_{\xi_{s}^{(1)}n_{k}}, \\ \beta_{\xi_{s}^{(2)}n_{k}},{r_{n_{k}}(t)},{\theta_{n_{k}}(t)}}}{\int{\sum\limits_{s = 1}^{S_{L}}{{{g_{s}(t)} - {\sum\limits_{k = 1}^{K}{{\hat{h}}_{sk}{\lambda_{k}(t)}}}}}_{v}^{v}}}} +} \\ {\sum\limits_{k = 1}^{K}{{{\lambda_{k}(t)} - {{r_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)}{r_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)}\left\{ {\eta_{k}^{(1)}{\cos\left( {{\theta_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)} -} \right.}} \right.}}}} \\ {{\left. {\left. {\theta_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)} \right) + {\eta_{k}^{(2)}{\sin\left( {{\theta_{n_{k}}\left( {t + \zeta_{k}^{(1)}} \right)} - {\theta_{n_{k}}\left( {t + \zeta_{k}^{(2)}} \right)}} \right)}}} \right\} }_{v}^{v}{dt}} \end{matrix} & ({f15}) \end{matrix}$

in any ν-norm ∥⋅∥ν, with 1≤ν≤∞ taking into account (f9). This particular type of minimization is unknown in general, but many similar algorithms based on the multidimensional decomposition proposed by Harshman in 1970 are known. A scientific theory for the unique solution of this decomposition was introduced by Kruskal in 1977, and many similar applications including NMR have already been discussed in the work of Sidiropolis (2001), Ibragimov (2002), Tugarinov (2005), and Hiller (2009). Thus, together with analytical gradient generation methods proposed by the authors in 2017, the problem (f10) may be solved. The theory of a solution based on alternating least-squares (ALS) iterations is clearly described in the chapter “sparse three-way decomposition” of Ibragimov (2002), and a highly efficient implementation algorithm is attached in the source listing (Appendix 2) of this patent application. Even though this method has only a monotonic convergence, with the use of some accelerations discussed in the references above, this method provides a good and stable convergence.

The method (f15) may be used in the following cases:

-   -   if only a few mixers are available in s2, and/or     -   if a set of isotopes in the measurement area is changed, and/or     -   to improve the accuracy of generated data.

The ELEGANT NMR may be additionally used for any single- and multi-band signals in applications other than NMR and MRI.

NMR Signal Processing with Many Input Coils

A method comprising long delay lines and/or resonators provides a very robust and simple solution for obtaining pure spectra from all non-zero-spin isotopes, but long delay lines and resonators often require more complicated and expensive hardware. In addition, the spectra appear only with certain time delays, caused by processing the long delay line. Hereafter, systems without long delay lines are preferably considered, while taking into account that long delay lines and/or the method described in FIGS. 3-4 will improve results if their usage is possible with available hardware.

The embodiments discussed above are applicable for one or several input signals; however, up to now, mainly the cases with exactly one input signal have been discussed. Two primary situations where several input signals are available are as follows:

-   -   one or more receivers perform measurements of a continuous         process, and during this process, the relative response spectrum         may change, so that the j-th entry refers to the j-th         measurement in time (FIGS. 5 and 7 ); and     -   each j-th receiving coil generates its own data r_(nj)(t) or         g_(sj)(t) with different response spectra (FIGS. 6 and 8 ).

Different response spectra may occur in the following cases:

-   -   a continuous chemical process (chemical synthesis) is measured,         and the relative concentrations of substances may change over         time;     -   measurements occur in a detector for liquid chromatography,         HPLC, or uHPLC;     -   measurements occur through multi-dimensional NMR experiments,         such as NOESY and multidimensional NMR spectrometry;     -   an array of detectors is used for MRI, where each detector is         situated in its particular place and receives a linear         combination of responses from the excited area.

Hence, all embodiments mentioned above deliver several sets of r_(nj)(t) or g_(sj)(t), and each of these sets has similar spectra with variations in amplitudes A_(nm) and phases b_(nm), and these sets are obtained from s15 or s19 sequentially or simultaneously in time.

Assume an index j=1, . . . , J refers to the number of sets in these experiments (FIGS. 5-8 ).

Joint usage of several stored signals r_(nj)(t) by the computational block s16 generates pure resonance frequencies ω_(nm), amplitudes A_(nm), and phases b_(nm) as well as A_(jnm), b_(jnm) variations along the j-th direction. This solution may be obtained by:

$\begin{matrix} {{\min\limits_{A,b,\omega}{\sum\limits_{n}{\sum\limits_{j}{\int_{- \infty}^{+ \infty}{{{{r_{jn}(t)} - {❘{\sum\limits_{m = 1}^{M_{n}}{A_{nmj}e^{{ib}_{nmj}}e^{i\omega_{nm}t}}}❘}}}_{v}^{v}{dt}}}}}},} & ({f16}) \end{matrix}$

in any ν-norm ∥⋅∥ν, with 1≤ν≤∞ as is demonstrated in FIGS. 5 and 6 .

Joint usage of several stored signals g_(nj)(t) by the computational block s20 generates pure resonance frequencies ω_(nm), amplitudes A_(nm), and phases b_(nm), as well as A_(jnm), b_(jnm) variations along the j-th direction. This solution may be obtained by:

$\begin{matrix} {{\min\limits_{A,b,\omega}{\sum\limits_{n}{\sum\limits_{j}{\int_{- \infty}^{+ \infty}{{{{{r_{jn}(t)}e^{i{\theta_{jn}(t)}}} - {\sum\limits_{m = 1}^{M_{n}}{A_{nmj}e^{{ib}_{nmj}}e^{i\omega_{nm}t}}}}}_{v}^{v}{dt}}}}}},} & ({f17}) \end{matrix}$

in any ν-norm ∥⋅∥ν, with 1≤ν≤∞ by joint minimization with (f15), as is demonstrated in FIGS. 7 and 8 .

These minimization problems are solved by standard and robust least-squares minimization methods that nowadays available in many textbooks (for example, “Numerical Optimization” by Nocedal, Springer, USA, 2006, 664p), preferably with the accelerations discussed in the authors' work of 2017. Its general theory and data flow chart were discussed in the 2002 paper by Ibragimov, and the implementation of this minimization procedure on a generic computer with a GNU C99 compiler is described in Appendix 2.

The methods described above generate g_(s)(t) and λ_(n)(t) in real time with delays of only a few microseconds between s4 and s7 or s8. However, the generation of pure resonance frequencies ω_(nm), amplitudes A_(nm), and phases b_(nm) requires some unpredictable delays, because either

-   -   the numerical iterative approach is used in s16 or s20, where         (f16) or (f17) is solved, or,     -   one must wait until the necessary data are collected for s17 or         s21.         Real-Time MRI

To overcome the problem of unpredictable delays in a spatially non-homogeneous case (for example, MRI), the following processing method is suggested. Suppose all receivers are situated at their particular places. Then, each coil s4 receives a linear combination of many electromagnetic responses from excited mixtures with shifted phases and attenuation related to the distance that the electromagnetic waves travel before being absorbed by the receiver coil. In this circumstance, signals in s1 remain linear combinations with the same coefficients, g_(s)(t) are linear combinations of the original signals, and an enhanced matrix H={h_(kjs)} can be constructed so that

$\begin{matrix} {{\lambda_{kj}(t)} = {\sum\limits_{s = 1}^{S_{L}}{h_{kjs}{{g_{s}(t)}.}}}} & ({f18}) \end{matrix}$

Thus, the real-time generation of λ_(kj)(t) in s7 delivers pure NMR spectra from each electromagnetic source, i.e. the 3D magnetic resonance image of the investigated object.

The key advantage of this approach is in the low count of linear filters, delay lines, and mixers to be used, in comparison to the total amount of said components needed to implement all independent schemes (f10) for each receiving coil and then perform a standard MRI reconstruction algorithm.

To get the best possible configuration of linear filters, delay lines, and mixers and then determine appropriate coefficients of the matrix H, the following algorithm may be used.

Algorithm Nr. 1:

-   -   1. A finite element grid for discretization of the measurement         area FEM₁, . . . , FEM_(NFEM) is constructed.     -   2. The three-dimensional positions of receiving coils are stored         in Coil₁, . . . , Coil_(NCoil)∈         ³.     -   3. A target set of non-zero-spin isotopes for investigations is         chosen, for example, I_(n)=1, . . . , NI: 1H, 13C, 14N, 15N and         31P.     -   4. A magnetic strength and the corresponding Larmor frequencies         for each target isotope and for each finite element are computed         according to the permanent magnet composition.     -   5. A coefficient of decay of electromagnetic radiation from each         finite element position FEM_(i) to each receiver coil position         Coil_(j) is computed and stored in DC_(ij).     -   6. An initial combination of linear filters, delay lines, and         mixer connections for all available coils is guessed and stored         in a structure S.     -   7. For each FEM_(i), i=1, . . . , NFEM and each particular         isotope I_(n):         -   Assume that only the FEM_(i) source of electromagnetic             radiation is available and has unit value; then the             corresponding g_(s)(t) is computed according to formulas             (f1)-(f5) and DC_(ij). The computed function g_(s)(t) should             be transformed to the spectral domain by Fourier             transformation into a vector g_(sx), x=1, . . . , X, where x             is the discretized index of the spectral domain. The             resulting data are stored in h along the x index.     -   8. Pairs of indexes I_(n) and i, as well as s and x in the         four-dimensional array h_(I) _(n) _(,i,s,x′) should be joined so         that the two-dimensional array HH of size (NI*NFEM)×(S_(L)*NX)         is constructed.     -   9. The condition number of the matrix HH should be computed.     -   10. Said condition number should be minimized by any standard         minimization algorithm according to the variation of the S set.     -   11. When said optimization converges, the pseudo-inverse of this         matrix should be computed, then remapped back to the         four-dimensional array. Its x index refers to the appropriate         Larmor frequency of the corresponding finite element; the         corresponding value should be stored in the three-dimensional         array H and used in (f18).

Even through the described algorithm is computationally complex and may require a supercomputer to complete the job, it should need to be performed only one time before the equipment starts operation; the resulting data may be stored for further usage.

Hence, from just one real-time measurement (several milliseconds), the complete MRI image can be reconstructed in only a few milliseconds. This fact opens new possibilities for real-time MRI visualization and guiding.

Real-Time Method for Obtaining Signals from Repeating Processing Method

To illustrate this method, consider one practical example where it may be used. Suppose a surgical operation is intended. However, instead of a real human surgeon, a surgical robot will perform this operation.

The patient and the patient's organs may react to the pain in about 0.1 s, so the surgical scalpel should be accurate and situated with feedback control requiring much less than this 0.1 s period. Sensors that measure the scalpel and patient body configurations should report their data much faster, with the delay being no more than several milliseconds.

The mechanical system of the surgical robot is fast, and can move its tools (i.e. the scalpel) quickly enough that any arbitrary configuration is achievable in several milliseconds.

However, the numerical computation of mechanical movements according to the responses of these sensors and information about the operation are so complex that a state-of-the-art appliance unit requires several seconds to complete the computation, ruining any possibility of performing this operation in real time.

Said appliance unit is affordable and compact in size, so thousands of appliance units may be installed in a hospital. However, their computations cannot be parallelized in such a way that the computations will always complete in several milliseconds. Therefore, it is dangerous to apply this straightforward solution in a real environment.

The proposed method provides a real-time and deterministic response, so that the surgical robot can determine its next action in real time or can promptly stop a harmful action if the surgical robot does not have enough information on what it should do next.

Hence, this example will demonstrate how to construct a processing method that may react in real time based on information obtained from one or several sensors.

A brief scheme of this real-time method is described in FIG. 9 . All involved processes operate in time slots, hence each is marked with its so-called ϕ-th time step.

The method (ALGORITHM Nr. 2) is comprised of the following four parts:

Component 1. A Real-Time Intermediate Data Generator and Sensor s23.

This may be any chemical or other sensor that measures some physical and/or chemical properties. The sensor should deliver measurement data in real time, i.e. with deterministic delay such that the length of this delay is below the acting time of the total system. At each time step, this block delivers said intermediate data set z_(ϕ). This data set is usually digital and is represented as an array of digits.

Component 2. Non-Real-Time Action Generator s24.

This block receives data z_(ϕ) upon its availability and performs a computation. The result of this computation is a special data set y_(ϕ) that can be used in block s27 to perform a real-time action, or a parametric data set that may be used in block s27 to generate and perform a real-time action. Computational time for this step is unpredictable. The computation may be interrupted if it takes too much time. To be able to complete computations for most of the input data that arrives at each time step, one or several computational units can work in parallel. When new data (z_(ϕ+1)) arrives, it is assigned to the first free appliance unit. If no free units are available, either the next-arriving data is skipped or the oldest ongoing computation over all appliance units is discarded and this free unit is allocated to the new data set z_(ϕ+l).

In the example above, the surgical robot generates how it should behave, i.e. how to set its motors and actuators for the current patient configuration, for example, breathing. These computed results may be reused later when the patient re-enters the same predictable configuration.

Component 3. Non-Real-Time Database Updater s25.

This block receives a pair of data sets, z_(ϕ) and y_(ϕ), when both are ready and incorporates them into a database D. The database containing already-incorporated data sets from time steps 1, . . . , ϕ is abbreviated as D_(ϕ).

This database may be organized by many different methods. Most importantly, the database should possess the property of searching its entries in real time, within a deterministic amount of time.

Similar to the step for the non-real-time action generator, the computational time for this step may be unpredictable. The computation may be interrupted and this data set discarded if the computation takes too much time. To be able to complete computations for most of the input data that arrives at each time step, one or several computational units working in parallel may be constructed and perform the same way as in component 2.

In the example above, the surgical robot collects data from sensors for all possible configurations of patient's body during the patient's breathing and moving periods and stores these configurations in the database, i.e. “learning” patient behavior and “learning” how to perform the surgical operation.

Component 4. Real-Time Database Searcher s26.

This block receives the actual intermediate data z_(ϕ) from the real-time intermediate data generator and sensor, and searches and matches this data against the actually available database. Normally, the database that is available for this moment contains only entries that are far behind in time, i.e. the database D_(ϕ-k), with k>>1. In the case where matching of z_(ϕ) occurs, the corresponding vector {tilde over (y)} is delivered. When no match is found, then no answer is delivered. By construction, if the database is trained on appropriate data in the previous steps, this matching delivers a real-time response and bypasses the intensive calculations which have unpredictable computational times.

Hence, most deep learning algorithms, and/or support vector machine algorithms, and/or low rank approximation and linear subspace methods may be used for the construction of this database, with the restriction that searching and matching in the database is always a deterministic process.

Matching of test data against an established database may be performed by

-   -   exact match,     -   approximate match in least-squares or any other suitable norm,     -   match to a linear combination of two or several datasets, so         that the resulting vector y is the linear combination of         appropriate y vectors to z vectors.

In the example above, in the case of the surgical robot being sufficiently trained, it performs real-time actions without any help from a human surgeon and can be much more precise and accurate.

Thus, execution of real-time actions according to arbitrary real-time responses from sensors is demonstrated, with a wide range of potential chemical compositions and spatial configurations detectable by those sensors in time-critical applications. Many other useful applications of these results may be easily outlined, and are discussed in the following subsections.

Real-Time Chemical Switch

Consider that measurements are performed on a production line, where one or several concentrations of substances play an important role, and some devices/valves should be switched if the concentration of one or several substances goes outside of predetermined boundaries. Usage of the suggested method solves this problem: if measurement and database construction are performed, one can monitor desired substances and/or mixtures in real time. If matching by s26 occurs, the switch takes place.

NMR Signal Processing with Correlated Resonators

In the case of a resonator or internal clock being used with the NMR processing method, the following approach is suggested.

Consider FIG. 3 : One or several wide-band coils and/or optical detectors s4 receive very weak signals that are usually amplified by one or more sequential amplifiers s5. The signals are abbreviated as f_(l)(t), l=1, . . . , L, where L is the total count of input signals and t is the time domain variable of the measurements. Based on a priori information about the magnets and non-zero-spin isotopes in use, one or several frequency generators s10 and their signals, delayed by ¼ period, are used. Signals from said frequency generators are abbreviated as v_(n)(t), n=1, . . . , N, so that v_(n)(t) is a complex function whose real part refers to the signal and whose imaginary part refers to the delayed signal from the same generator.

All f_(l)(t), l=1, . . . , L signals are forwarded pairwise with v_(n)=1, . . . , N to the mixer block s11, so that each pair is comprised of one f and one s signal. The resulting signals from each mixer are forwarded over a low-pass filter s3 and abbreviated as u_(ln)(t), where l is the index of the input NMR coil and n is the index of the frequency generator.

This method is nowadays well-known and used in many NMR devices; however, the following key differences to prior-art methods are suggested:

-   -   all generators v_(n)(t), n=1, . . . , N are fully correlated to         each other, i.e. at any time the frequencies of all generated         signals have fixed ratios with one another. (f19)

Here, it is sufficient to consider only one input signal s4 (FIG. 3 ), so that L=1, and only one experiment, so that J=1. Therefore, the l and j indexes are dropped from u_(lnj)(t) and it becomes represented as u_(n)(t), n=1, . . . , N.

Consider that the input NMR signal is disturbed because an unstable magnetic field and unstable oscillator are used. In this case, this signal can be written as the following form:

${{f(t)} = {\sum\limits_{n = 1}^{N}{{Re}\left( {e^{{{iW}_{n}t} + {{iW}_{n}{\sigma(t)}} + {i{\overset{\sim}{\sigma}(t)}}}{p_{n}(t)}} \right)}}},$

where σ(t) refers to the function of the unstable magnetic field, and {tilde over (σ)}(t) refers to the function of the unstable oscillator. In this case u_(n)(t) reads as: u _(n)(t)=r _(n)(t)e ^(iθ) ^(n) ^((t)+iW) ^(n) ^(σ(t)+i{tilde over (σ)}(t)),

so that r_(n)(t) can be easily computed as r_(n)(t)=|u_(n)(t)|.

Some important considerations should be taken into account:

-   -   affordable unstable oscillators do have local stability and are         stable for a short period of time (several microseconds and         less); however, they may be unstable over longer periods         (several milliseconds and more);     -   in normal laboratory or industrial conditions, a magnetic field         does not fluctuate with high deltas, which only occur in an         exceptional cases like close proximity to electromotors,         electromagnets, high current switchers, etc; said magnetic field         can be stable for a short period of time (several microseconds         and less), but it may be unstable over longer periods (several         milliseconds and more).

Hence, σ(t) and {tilde over (σ)}(t) are considered as either piece-wise constant or piece-wise linear functions that cover said short-period time stabilities of oscillators and magnetic field.

Let us divide u_(n)(t) and r_(n)(t), defined on t=[0,T], into several pieces τ=1, . . . , Ψ equal in time as:

${{{\overset{\sim}{u}}_{n\tau}(t)} = {{- i}\ln\frac{u_{n}\left( {t + {\frac{T}{\Psi}\left( {\tau - 1} \right)}} \right)}{r_{n}\left( {t + {\frac{T}{\Psi}\left( {\tau - 1} \right)}} \right)}}},{t \in \left\lbrack {0,\frac{T}{\Psi}} \right\rbrack},{\tau = 1},\ldots,\Psi,{n = 1},\ldots,{N.}$

According to the assumptions of the piece-wise constants σ(t) and {tilde over (σ)}(t), it is sufficient to approximate ũ_(nτ)(t) as θ_(nτ)(t)+W_(n)σ_(τ)+{tilde over (σ)}_(τ). Usually the signal θ_(nτ)(t) itself is overdetermined and can be adequately approximated by the method of model order reduction as is, for example, described in Jaravine and Ibragimov 2006.

Hence, θ_(nτ)(t) is a three-dimensional object formed from n, τ, and t dimensions with low rank that may be represented as:

$\begin{matrix} {{{\theta_{n\tau}(t)} = {\sum\limits_{r = 1}^{R}{\theta_{nr}^{(1)}\theta_{\tau r}^{(2)}{\theta_{r}^{(3)}(t)}}}},{t \in \left\lbrack {0,\frac{T}{\Psi}} \right\rbrack},{\tau = 1},\ldots,\Psi,{n = 1},\ldots,{N.}} & ({f20}) \end{matrix}$

with small r compared to N and/or Ψ, and which can be found by solution of one of the following minimization problems, either:

${\min\limits_{R,{\theta_{nr}^{(1)}\theta_{\tau r}^{(2)}{\theta_{r}^{(3)}(t)}},\sigma_{\tau},\overset{\sim}{\sigma_{\tau}}}\ {\overset{N}{\sum\limits_{n = 1}}\ {\overset{\Psi}{\sum\limits_{\tau = 1}}{\int_{0}^{T/\Psi}{{{{{\overset{\sim}{u}}_{n\tau}(t)} - {\overset{R}{\sum\limits_{r = 1}}{\theta_{nr}^{(1)}\theta_{\tau r}^{(2)}{\theta_{r}^{(3)}(t)}}} - {W_{n}\sigma_{\tau}} - {\overset{\sim}{\sigma}}_{\tau}}}_{2}^{2}{dt}}}}}},{{{or}{\theta_{n\tau}(t)}} = {{{\overset{\sim}{u}}_{n\tau}(t)} - {W_{n}\sigma_{\tau}} + {\overset{\sim}{\sigma}}_{\tau}}},{{where}\min\limits_{\sigma_{\tau,}{\overset{\sim}{\sigma}}_{\tau}}{\int_{0}^{T/\Psi}{{{{{\overset{\sim}{u}}_{n\tau}(t)} - {W_{n}\sigma_{\tau}} - {\overset{\sim}{\sigma}}_{\tau}}\mathop{\text{||}}_{2}^{2}{d{t.}}}}}}$

Both minimization problems can be solved by the algorithm from Appendix 2 or by any other method that will find the tensor decomposition of a multidimensional (≥3) object.

A similar method can be applied in the event of using a piece-wise linear approximation instead of the piece-wise constants for σ(t) and {tilde over (σ)}(t). This approximation leads

$\begin{matrix} {{{\min\limits_{R,{\theta_{nr}^{(1)}\theta_{\tau r}^{(2)}{\theta_{r}^{(3)}(t)}},\sigma_{\tau},{\overset{\sim}{\sigma}}_{\tau}}\ {\overset{N}{\sum\limits_{n = 1}}\ {\overset{\Psi}{\sum\limits_{\tau = 1}}{\int_{0}^{T/\Psi}{{{{{\overset{\sim}{u}}_{n\tau}(t)} - {\overset{R}{\sum\limits_{r = 1}}{\theta_{nr}^{(1)}\theta_{\tau r}^{(2)}{\theta_{r}^{(3)}(t)}}} - {W_{n}\sigma_{\tau}{\Upsilon_{\tau}(t)}} - {{\overset{\sim}{\sigma}}_{\tau}{\Upsilon_{\tau}(t)}}}}_{2}^{2}{dt}}}}}},{or}}{{{\theta_{n\tau}(t)} = {{{\overset{\sim}{u}}_{n\tau}(t)} - {W_{n}\sigma_{\tau}{\Upsilon_{\tau}(t)}} + {{\overset{\sim}{\sigma}}_{\tau}{\Upsilon_{\tau}(t)}}}},{where}}{\min\limits_{\sigma_{\tau,}{\overset{\sim}{\sigma}}_{\tau}}{\int_{0}^{T/\Psi}{{{{{{\overset{\sim}{u}}_{n\tau}(t)} - {W_{n}\sigma_{\tau}{\Upsilon_{\tau}(t)}} - {{\overset{\sim}{\sigma}}_{\tau}{\Upsilon_{\tau}(t)}}}\mathop{\text{||}}_{2}^{2}{dt}},{{{where}{\Upsilon_{\tau}(t)}} = \left\{ {\begin{matrix} {t \in {\left\lbrack {{\left( {\tau - 1} \right)\frac{T}{\Psi}},\ {\tau\frac{T}{\Psi}}} \right\rbrack:}} & {{1 + t},} \\ {t \in {\left\lbrack {{\tau\frac{T}{\Psi}},\ {\left( {\tau + 1} \right)\frac{T}{\Psi}}} \right\rbrack:}} & {{1 - t},} \\ {{otherwise}:} & 0 \end{matrix}.} \right.}}}}}} & ({f21}) \end{matrix}$

Hence, we have demonstrated how to stabilize NMR data acquisition and obtain pure spectra that are not disturbed by an unstable magnetic field and/or unstable oscillator.

This condition (f19) is sufficient for performing NMR signal processing in a fluctuating magnetic field and/or fluctuating oscillator; however, several additional conditions may improve results and/or be useful for particular cases.

Said conditions may be one of the following: either

-   -   at least two repetitions of data acquisition should be         performed, or (f22)     -   two or more magnetic fields with different strengths should be         situated close to one another and cover the measuring unit         together with several transmitter (f23) and receiver coils, or         coils,     -   at least one non-zero-spin isotope with a priori known spectra         should be either: (f24)     -   situated in the measured substance, or     -   incorporated as the reference unit inside one or several input         coils, or     -   incorporated in the walls of the measuring NMR camera.

Consider the first condition (f22): at least two repetitions of data acquisition should be performed.

Here, the j-th index in u_(lnj)(t),j=1, . . . , J refers to the number of experiments that are collected in different time-slots, as is demonstrated in FIG. 4 . The total number of input coils working simultaneously may be one or more, so we drop the index l from u_(nj)(t), j=1, . . . , J, n=1, . . . , N.

This gives the construction, u _(nj)(t)=r _(nj)(t)e ^(iθ) ^(n) ^((t)+iW) ^(n) ^(σ) ^(j) ^((t)+i{tilde over (σ)}) ^(j) ^((t)),

where σ_(j)(t) refers to functions of the unstable magnetic field and {tilde over (σ)}_(j)(t) to functions of the unstable oscillator for every particular j-th experiment.

As above, r_(nj)(t)=|u_(nj)(t)|. Assuming

${{{\overset{\sim}{u}}_{nj}(t)} = {{- i}\ln\frac{u_{nj}(t)}{r_{nj}(t)}}},$

then θ_(n)(t), n=1, . . . , N are computed according to the minimization of:

$\min\limits_{{\sigma_{j}(t)},{{\overset{\sim}{\sigma}}_{j}(t)},{\theta_{n}(t)}}{\underset{n = {1j}}{\sum\limits^{N}}{\underset{= 1}{\sum\limits^{J}}{{{{\overset{\sim}{u}}_{nj}(t)} - {\theta_{n}(t)} - {W_{n}{\sigma_{j}(t)}} - {\overset{\sim}{\sigma}(t)}}}_{2}^{2}}}$

so that

θ n ( t ) = 1 J ⁢ ∑ j = 1 J u ~ n ⁢ j ( t ) - 0 ( t ) ⁢ ( 2 W n - 3 ) + 1 ( t ) ⁢ ( 2 - N ⁢ W n ) 2 2 - 3 N , where ⁢ 0 ( t ) = 1 J ⁢ ∑ j = 1 J ∑ n = 1 N u ~ n ⁢ j ( t ) , 1 ( t ) = 1 J ⁢ ∑ j = 1 J ∑ n = 1 N u ~ n ⁢ j ( t ) ⁢ W n , 2 =   ∑ n = 1 N W n ,   3 =   ∑ n = 1 N W n 2 .

Hence, we demonstrate that if

-   -   all generators v_(n)(t), n=1, . . . , N are fully correlated,         i.e. at any time the frequencies of all generated signals have         fixed ratios to one another, and     -   at least two repetitions of data acquisition are performed,         there is a straightforward method for obtaining pure spectra         that are not disturbed by the unstable magnetic field and/or         unstable oscillator.

Consider the second condition (f23). In the event a focused magnetic field is constructed (like in FIGS. 14-18, 24-25 ) it is easy to perform an experiment where two or more volumes with the substance to be measured are situated in magnetic fields of different strengths. Using two or more transmitter and receiver coils, or appropriately focusing the transmitting energy using the ELMATHRON beam, one can collect two or more spectra of the same isotope (for example H) of the same substance at two or more different magnetic field strengths. Doing so leads to two or more different carrier frequencies being simultaneously measured, and fluctuations in time of the magnetic field and oscillator remain the same for all these simultaneous measurements.

There are two cases possible with this scenario.

-   -   If the magnetic field strength differs in order by no more than         several percent, then spectra (if excited similarly) can be         scaled by the frequency and will be (f25) identical. Two such         spectra can be used to subtract out oscillator instability.     -   If the magnetic field strength differs considerably, or if the         spectra are generated by different excitation sequences, then         they cannot be considered identical; however, if one collects         more than two such spectra, they may be approximated (f26) with         a low rank approximation because the main parts remain similar         (dependent on chemical shifts) and what differs is dependent on         J-coupling.

Case (f25) has a unique solution if either at least one reference isotope is available or at least two measurements are performed. To find this solution, one needs to outline a minimization problem similar to (f21) and use similar solution methods.

Case (f26) can also be solved with a very similar approach. Let u_(kn)(t), where k=1, . . . , K≥2 refers to the index of different magnetic field strengths and/or an excitation pulse sequence experiment. Since spectra for different excitations differ only in the J-coupling part, it is clear that these spectra build a low rank object and, together with the n variable (isotope number), build a three-dimensional object similar to (f20) with minimization problem similar to (f21) and for which similar solution methods can be used.

Now consider the third condition (f24): the situation with reference isotope(s). In this case, just one measurement should suffice, so we drop the index j from u_(ljn)(t).

Here the following minimization problem should be solved:

${\min\limits_{{\sigma(t)},{\overset{\sim}{\sigma}(t)},{p(t)}}{{{u_{ln}(t)} - {e^{{iW_{n}{\sigma(t)}} + {i{\overset{\sim}{\sigma}(t)}}}\left( {{p_{n}(t)} + {q_{ln}(t)}} \right)}}}_{\nu}^{\nu}},$

in any ν-norm ∥⋅∥ν, with 1≤ν≤∞, and where p_(ln)(t) are the reference spectra.

This minimization problem has unique solutions in the following cases:

-   -   L=1, p₁(t)=0, q₁₁(t)≠0, either σ(t)=0 or {tilde over         (σ)}(t)=0—we need to perform one measurement on one coil, need         only one reference isotope, and need no such isotope in the         measured substance in case either oscillator or magnetic field         is unstable; the solutions are:

${{\overset{\sim}{\sigma}(t)} = {{0:{\forall n}} = 2}},\ldots,{{N:{{pn}(t)}} = {\left( \frac{q_{11}(t)}{u_{11}(t)} \right)^{W_{n}/W_{1}}{u_{1n}(t)}}},{{\sigma(t)} = {{0:{\forall n}} = 2}},\ldots,{{N:{{pn}(t)}} = {\left( \frac{q_{11}(t)}{u_{11}(t)} \right){u_{1n}(t)}}},$

-   -   L=1, p₁(t)=0, q₁₁(t)≠0, p₂(t)=0, q₁₂(t)≠0—we need to perform         only one measurement on one coil, need only two reference         isotopes, and need no such isotopes in the measured substance;         the solution reads as:

${{\forall n} = 3},\ldots,{{N:{{pn}(t)}} = {{u_{n}(t)}\left( \frac{u_{1}(t)}{q_{1}(t)} \right)^{k}\left( \frac{u_{2}(t)}{q_{2}(t)} \right)^{1 - k}}},{k = \frac{W_{n} - W_{2}}{W_{1} - W_{2}}},{{L > {1:{{pn}(t)}}} = \frac{{{q_{l_{1}n}(t)}{u_{l_{2}n}(t)}} - {{q_{l_{2}n}(t)}{u_{l_{1}n}(t)}}}{{u_{l_{1}n}(t)} - {u_{l_{2}n}(t)}}},{l_{1} \neq {l_{2}.}}$

Every signal in f, v, and u in the described method may be analog or digital. At any point between blocks s3, s4, s5, s10, s11, s12, s13, and s14, one or several analog to digital converters (ADCs) and/or one or several digital to analog converters (DACs) can be incorporated to convert between signal types. Any of the blocks s3, s10, s11, s12, and s13 can be implemented through analog and/or digital means. In each particular case, the use of digital, analog, or a mix of digital and analog signals is dependent upon component counts, costs, desired accuracy, average signal frequency, and many other factors.

In the output of s3 at FIG. 3 , |u_(ln)(t) refers to r_(ln)(t) and is weakly dependent on fluctuations in the permanent magnetic field and oscillator. It is generated with several microsecond delays after the initial signal appears, so all real-time methods that require only r may be used.

Usage of internal marker(s) for one isotope or a spectrum that may be matched by internal database, together with correlated oscillators, gives a straightforward way to get absolute spectra for all other measured non-zero-spin isotopes without the usage of standard substances like tetramethylsilane for 1H, 13C, or 29Si. Indeed, if we know or compute a spectrum for one non-zero-spin nuclei type so that it is scaled to known standard (i.e. we have absolute spectra), and we know the exact relation between NMR isotopes and use this relation on the correlated oscillators, all other spectra are already absolute spectra. This is a very important feature for inorganic or element-organic chemistry, since most non-zero-spin isotopes have few response lines in their spectra and cannot be matched without usage of chemical standards.

Hence, we demonstrated that correlated oscillators allow the removal of instability in the magnetic field and/or oscillators. This capability opens a new horizon for the use of small and affordable magnets, magnets with Halbach-like focusing of the magnetic field, and affordable oscillators.

The Elmathron

The Electron Larmor Microwave Amplifier THReaded On Nuclei (ELMATHRON) is an apparatus to deliver electron Larmor frequency waves whose amplitude is modulated by a nuclear Larmor frequency pulse. An example of the waveform is found in FIG. 11 , where a highly oscillated signal (ca. 40 GHz at 1.5 T) that refers to the Larmor frequency of electrons is amplitude modulated by the low oscillated signal or pulse referring to the Larmor frequency of nuclei (ca. 60 MHz for 1H at 1.5 T).

The ELMATHRON (FIG. 10 ) consists of a hermetically-sealed, deep vacuum-compatible glass or ceramic vessel e2. All energy transmissions into the ELMATHRON occur by inductive and/or electromagnetic methods.

A glass, ceramic, or any high voltage-resistant tube e9 is situated inside the vessel e2 and may have a printed metallic or conductive design (e5, e6, e7, e11, e16) on its inner and outer surfaces.

The bottom of the tube e9 contains the secondary winding e16 of a forward converter. The primary winding e17 of the forward converter is situated outside of the hermetically-sealed vessel e2 and is organized by many parallel windings. Each has a few turns that are operated at low voltage (5-100 V) so that the voltage/turn ratio is about 2-100 V. In contrast, the secondary winding e16 has a large number of turns. If the secondary winding contains printed coils in the inner and outer sides of the tube e9, the total number of turns may be around 10,000, and the total voltage in the second winding of the forward converter may easily reach 100 KV.

The ELMATHRON is designed to sustain a deep vacuum for a long period of time. For this reason, the following components are used:

-   -   glass or ceramics parts e2, suitable for deep vacuum,     -   printed traces of copper, silver, aluminum, or other         vacuum-friendly metals and alloys in e5, e6, e7, e11, e16,     -   tungsten and high-melting metals in e1, e13, and     -   appropriate getters e3 and/or e15.

The printed coil e16 is connected on one side over the getter block e15 to the cathode e13 of the ELMATHRON, and on the second side over traces e11, diffraction grating e7, and shielding screen e5 to the anode e6. Smooth turns in each trace on the conductive components, such as traces between e11 and e16, will prevent unnecessary electromagnetic interference.

The anode e6 of the ELMATHRON is preferably printed/deposited on the inner side of the tube e9 with an additional metal e5 as a shield to prevent unnecessary electromagnetic interference. The electron beam flows from the cathode e13 to the anode e6. The permanent magnetic field, created by external magnets e10, causes electrons to move helically in tight circles around the magnetic field lines as they travel lengthwise through the tube. At the position in the tube at which the magnetic field reaches its maximum value, the electrons radiate electromagnetic waves in a transverse direction (perpendicular to the axis of the tube) at their Larmor (cyclotron) resonance frequency. The radiation forms standing waves in the tube, which acts as an open-ended resonant cavity, and is formed into a beam that radiates through the diffraction grating e7.

A reflector e8 may be constructed as a cone, a flat mirror, a focusing/collecting mirror, or any of many other possible shapes such that some part of the emitted waves may be reflected back to the cathode e13 to accelerate the cathode's electron emission.

The cathode is preferably constructed as the shorted turn e13. It is important that the cathode be made of high-melting metals and remains in a high-temperature state during operation. Preferably, the cathode is made in the form of a circle that is as large as possible while also not touching the walls of e9.

The getter block e15 may be omitted, so that the cathode e13 is directly connected to the printed coil e16.

In the case of a getter block e15 being present, it may have arbitrary shape, with the following restrictions: the top face and its surface (that looks to the anode) should be as large as possible, and no shorted turns, which may result from inductive transformations from e14 and/or e17, are permitted.

Said getter e15 can be made as a metal foam block that completely fills this tube and has notches so that this foam does not build shorted turns; it can also be made as a flat spring or as any other form with maximal possible surface area and no shorted turns.

It is important to make the connection from the cathode e13 with tin conductive metal wire(s) so that heat from the cathode is not transferred to said getter e15; the getter should remain cold so that it can function in collecting unnecessary ions and improving the vacuum inside the ELMATHRON.

The embodiment including said getter e15 improves the lifespan of the device. In this case, the ELMATHRON works as a sputter ion pump maintaining ultra-high vacuum for a long period of time. Ions situated inside the ELMATHRON flow in the direction of the cathode and are captured by the cold getter e15.

The getter e15 can be made of titanium, a titanium-rich alloy, a Ti—Zr—V alloy, or any other conductive wire of appropriate alloy.

Making the getter e15 massive or using massive foam (several millimeters in height) improves cooling of its upper face, resulting in improved ion absorption.

The external inductive heater e14, with its optical feedback e12 and control unit e19, sustains the high-temperature state of the cathode.

One can use an electromagnetic beam e12 (a laser, for example) to heat the cathode e13 in parallel with or alternatively to inductive heating; electromagnetic beam heating can also be used to bring the surface of the cathode into an excited state to improve the overall efficiency of the ELMATHRON's operation.

The first step of the working cycle of the forward converter creates high voltage on the secondary winding e16, so that the cathode e13 assumes a negative charge and the anode e6 assumes a positive charge, forcing the emission of electrons from the cathode to the anode. The second step of the working cycle exchanges the polarity of charges between cathode and anode, thereby locking the electron beam to the backward direction.

When printed on the inner and outer side of the tube e9, the secondary winding e16, diffraction grating e7, connections e5, e11, e15, and the anode e6 may be organized as a thin metallic film that is chemically deposited or sprayed.

The spaces between traces are preferably burned/etched by the optical/laser heater, so that a 1-100 μm thin layer with 1-10 μm of trace deviation accuracy is afforded during production.

Having the thin layer on the printed coil e16 with a total length of 10 cm may provide a pulse-width of less than 10 ns with 1000 V/ns and 105 watts of peak power at the coil. Parameters even better than this may be achieved.

Due to its construction, the working cycle of the forward converter may be as brief as several nanoseconds and may be chosen to match the duration of the excitation NMR pulse sequence, during which each pulse is modulated with the electron Larmor frequency. Hence, the ELMATHRON works as a polarizer (on the electron Larmor frequency), as an NMR transmitter (on the nuclear Larmor frequency), and as a phased-array transmitter (taking the diffraction grating into consideration and/or several ELMATHRON vessels working in parallel).

It is evident that instead of the forward converter scheme, it is possible to use full-bridge, half-bridge, and many other similar transformer schemes. However, the forward converter maximally reduces the total count of components and appears to be optimal for the outlined goal—providing a dual-band Larmor electron and nuclei frequency generator.

Magnets

Since the magnitude of the electric response from an NMR experiment grows quadratically with regard to the magnetic field strength used, it is important to use magnets with the highest possible field strength. As discussed previously, the magnets may be either:

-   -   an external magnetic source as, for example, is disclosed in         FIG. 18 , or     -   embedded permanent magnets as, for example, are disclosed in         FIGS. 13-17, 20 .

In the case of embedded permanent magnets being used, they may have either:

-   -   anisotropic magnetization, where the entire magnet(s) are         magnetized in one direction (FIGS. 21A, 22 and 23 ), or     -   well-known Halbach structure or any other similar structure         where the magnetic field in the predetermined zone may be larger         (often by several times) than could be achieved with anisotropic         magnetization.

Nowadays, Halbach structures are often used in NMR spectrometry; however, they always require joining many small magnetic parts.

In the case of one transmitter and receiver coil assembly (FIG. 12 ) being used, the optimal Halbach magnetization occurs as in FIG. 24 .

In the case of an ELMATHRON with several coil receivers (FIGS. 14-18 ) being used, the optimal Halbach magnetization may be even more complicated, as shown in FIG. 25 .

Here, the direction of the magnetic field in the receiving coils is anti-parallel to the direction of the magnetic field in the ELMATHRON vessel.

In the case where such an array is constructed with several pieces of magnets, one needs to combine an enormous number of magnetized pieces; doing so may be commercially ineffective.

In the case of MR. NIB technology (FIG. 20 ) being used, the optimal Halbach magnetization may be even more complicated and looks as in FIG. 21B. The key advantage of this method is to generate an extremal (high or low) magnetic field strength on a point situated far from the magnets, and to not have any such extremal magnetic strength anywhere in the neighborhood of this point or in the area where the patient's body may be situated. This result is achieved simply by appropriate magnetization of the magnets. A representative contour plot of magnetic field strength sandwiched between these magnets is given in FIG. 21B.

In addition, the combination of a modulated ELMATHRON beam, magnetic field, and appropriate non-zero-spin isotope opens the new possibility of using an electromagnetic field of nuclear Larmor frequency on said non-zero-spin isotope instead of or in parallel with said modulated ELMATHRON's beam.

Hence, the key advantage compared to U.S. Pat. No. 8,148,988 consists of the direct magnetization of magnetic material during magnet pressing/sintering/casting/forming, either

-   -   1. to achieve a field strength outside the magnets that is         higher than the maximal possible field strength of anisotropic         magnets for the same material, or     -   2. to produce a local extremum of magnetic field strength (this         case is mainly useful with MR. NIB technology).

Consider making each magnet of the ELEGANT NMR and MR. NIB technologies, i.e. every g7, g8, g9, g10, g11, and g12, independently as cylinders or, in general, as any arbitrary shape. It is easy to predict by numerical computation an optimal magnetization for each point of these magnets that yields the maximal possible magnetic field strength in a measured area outside of the magnet itself. In the embodiments comprising ELMATHRON(s), said maximal possible magnetic field strength should be in the measured area and inside the ELMATHRON's vessel. There are two variants with parallel and anti-parallel magnetic fields in said measured area and ELMATHRON vessel. Both variants work well, and which variant should be used depends on the device and magnet sizes.

Hence, distribution of the anisotropy of magnetic particles inside the magnets should be as in FIGS. 21B, 24-27 , and this magnetization should provide the maximal possible magnetic field in the desired area.

The optimal magnetization of magnets g11 and g12 is highly dependent on device size, the set of non-zero-spin isotopes used for MR. NIB therapy, and the general requirement to generate an extremum of magnetic field strength, so many different magnetizations may be suitable.

Nowadays, there are two main technologies for permanent magnet construction:

-   -   forming magnets from powder, and     -   casting magnets.

Both technologies require a permanent magnetic field to be applied during forming or casting, and after this procedure, one needs to magnetize the magnet.

Formation of a magnet may be realized through many methods: by pressure, by additional lubricant and/or glue, by sintering pressed powder, etc. In all cases, it usually involves additional pressure being applied to the powder, and may require postprocessing (heating/sintering, etc) after this procedure.

Casting a magnet requires liquid magnetic material at high temperature, and that the material is crystallized in an external magnetic field during cooling.

In this patent application, we proposed to apply a non-uniform magnetic field of special shape during casting or forming.

Consider first the forming of magnets from anisotropic magnetic powder.

To make such a magnet, the following method and corresponding apparatus (FIG. 29 ) is suggested. It is comprised of

-   -   a molding matrix g19,     -   a molding tool g18,     -   a set of one or several magnetic field creating and adjusting         materials g21:         -   permanent magnets, and/or         -   ferromagnetic materials, and/or         -   permanent electromagnets, and/or         -   superconductor electromagnets, and/or         -   any other non-magnetic materials, and/or         -   permanent magnet(s) previously manufactured with the same             technology, and     -   a magnetic powder g20 with particles that can be anisotropically         magnetized, whereby     -   said magnetic powder is situated in said molding matrix,     -   said molding tool acts on said magnetic powder, reducing its         volume and forming a molded magnet, and     -   said magnetic field creating and adjusting materials are         situated in a predetermined spatial configuration.

To predict said predetermined spatial configuration, one needs to use a well-known equation that computes the magnetic field in a point Y∈

³ occurring from a magnetic dipole situated at a point X∈R³ with its magnetization direction M∈

³:

$\begin{matrix} {{{B\left( {\overset{\_}{M},X,Y} \right)} = \frac{{3\left( {Y - X} \right)\left( {Y - X} \right)^{T}\overset{\_}{M}} - {{\overset{\_}{M}\left( {Y - X} \right)}^{T}\left( {Y - X} \right)}}{{{Y - X}}_{2}^{5}}},} & ({f27}) \end{matrix}$ and performs the following algorithm.

Algorithm Nr. 3.

-   -   1. perform finite element discretization of the complete area         where the molded magnet is being pressed,     -   2. for the spatial distribution of every permanent magnet and/or         permanent electromagnet,     -   3. find the numerically appropriate magnetization direction for         every said finite element, checking that discretization in that         finite element is fine enough to achieve a smooth and accurate         solution,     -   4. take each finite element and scale the magnetic field in such         a way that it is maximally magnetized,     -   5. compute with the help of (f27) a magnetic field from the all         finite elements in     -   6. the measured area; and     -   7. if needed, the ELMATHRON's vessel;     -   8. the area of the patient's body where MR. NIB therapy is to be         used,     -   9. perform steps 3-8 maximizing/optimizing the magnetic field in         the desired area; if needed, constrain divergence of the field         in that area; and find the best possible configuration of         permanent magnets and/or permanent electromagnets.

Said algorithm delivers the optimal configuration of permanent magnets and/or permanent electromagnets and, if a sintering device FIG. 29 is constructed according to these rules, the magnetic field of the pressed magnet will be as large as possible with respect to magnet size and desired area and constraints in magnetic field divergence.

Additional fluids, and/or ultrasound, and/or shaking of the area g20 may be helpful, because adding fluid will make Bingham fluids from this powder and allow the rotation of magnetic particles with less external magnetic flux, while ultrasounding and/or shaking improve the transformation of this mixture into Bingham fluid.

Hence, magnet production can be performed by the following steps:

-   -   1. Based on physical shapes and numerical simulations, choose         the appropriate geometry of magnet g20 and area g21 with     -   permanent magnets, and/or     -   ferromagnetic materials, and/or     -   permanent electromagnets, and/or     -   superconductor electromagnets, and/or     -   any other non-magnetic materials, and/or     -   permanent magnet(s) previously manufactured with the same         technology.     -   2. Insert magnetic powder with/without fluids into the area g20,     -   3. Slowly apply pressure from g18 to perform pressing and, in         parallel to this procedure, apply shaking and/or ultrasonic         vibration. At the first stage, a constant pressure should be         applied based on the shape and size of the magnetic powder.         During this stage, magnetic particles may rotate to situate         themselves in the direction of the external magnetic field         organized by g21. When the volume of the magnet g20 has become         less than the possible volume where each average particle         touches its neighbors, the pressure should be slowly increased         until cold sintering occurs.     -   4. The constructed magnetic part is then sintered according to         the appropriate process for its material. During sintering, the         magnet usually loses its magnetic power; however, it becomes         stable with physical stress since all magnetic particles become         fixed.     -   5. The constructed part is next inserted into a device FIG. 30         that is similar to that used in stages 1-3; however, instead of         permanent magnets/electromagnets, a pulse magnet(s) g22 that may         achieve a pulse magnetic field of several Tesla with similar         magnetic field configuration is situated in the area g25, and a         short electromagnetic pulse is applied so that the magnet         becomes magnetized.

Hence, this method allows making a magnet such that it will produce higher magnetic strength outside of its shape than if it were a large anisotropic magnet constructed from the same magnetic material. As an example, we were able to achieve a magnetic field of 2 T for magnets of 24 mm diameter and FIG. 25 shape with material that can deliver at maximum 1 T in an anisotropic version.

Magnet casting may be performed with similar technology; however, instead of applying pressure to the magnetic powder, we should apply heating.

The key idea in this case is to use the same electromagnetic coils and/or materials to generate the external magnetic field and to produce heat. Heating may be organized by:

-   -   resistive heating of one or several coils, and/or     -   inductive heating of casted material, and/or     -   inductive heating of conductive crucible with casted material,         and/or     -   resistive heating of casted material.

Hence, magnet production can be realized through the following steps:

-   -   1. Based on physical shapes and numerical simulations, choose         the appropriate geometry of magnet g20 and area g21 with     -   permanent magnets, and/or     -   ferromagnetic materials, and/or     -   permanent electromagnets, and/or     -   superconductor electromagnets, and/or     -   any other non-magnetic materials, and/or     -   permanent magnet(s) previously manufactured with the same         technology.     -   2. Insert magnetic material for casting into the area g30,     -   3. Switch on heating so that said magnetic material melts.     -   4. After the magnetic material is melted, switch off inductive         heating (if it was used) and switch on the electromagnets on a         level such that they produce a magnetic field.

5. By controlling the cooling of electromagnets and resistive heaters, with/without the help of additional temperature sensors, perform slow cooling of said magnetic material while keeping the magnetic field at a level that is sufficient to cast an anisotropically-oriented magnetic structure.

6. When the crystalline structure of casted magnetic material is frozen and the magnetic material is below its Kuri point, one should apply a pulse magnetic field of several Tesla with similar magnetic field configuration as was used during casting, so that the magnet becomes magnetized.

Hence, this method also allows making a magnet such that it will produce a higher magnetic strength outside of its shape than if it was a large anisotropic magnet constructed with the same magnetic material. As an example, we were able to achieve 3 T for magnets of 24 mm diameter and FIG. 24 shape with material that can deliver at maximum 1.4 T in an anisotropic version.

In-situ portable spectrometers, based on ELEGANT NMR with and without ELMATHRON, are preferably constructed with small magnets. These magnets may lose their magnetic strength over time because they can be demagnetized when placed in inappropriate conditions, e.g. near electromagnets or large iron parts. To extend their working lives the device of FIG. 30 or a variant of FIG. 31 without heating may be used to recover depleted magnets.

Magnetic Material

Nowadays, there are many magnetic materials available for magnet construction by either sintered or casted processes;

-   -   sintered magnets may contain Nd—Fe—B, Sm—Co, Al—Ni—Co—Fe, Mn—Bi,         Mn—Al, and many other alloys, while     -   casted magnets contain mainly Al—Ni—Co—Fe alloys.

If casted, the magnetic material should be placed at high temperature and slowly cooled. Doing so requires that the casted material be held in forms resistant to high temperature.

If sintered, the magnetic material should be placed on a close form and additional pressure applied. This requires that materials resistant to high pressure to be used to hold the sintered material.

The construction process requires an external magnetic field. To create a permanent magnetic field with anisotropy over a large region, one can use Helmholtz coils. In this case, the area with high magnetic field strength and anisotropy is situated physically far from the area where magnets are casted or sintered. Hence, there is no difficulty in placing the forms for casting or sintering far away from the electromagnetic coils that generate the permanent magnetic field.

The typical permanent magnetic field is sourced from copper coils, which are not very resistant to a high-pressure environment. The typical pressure for synthesizing sintered magnets is above 3000 bar; withstanding this requires the enclosure for this process to be constructed precisely. For some magnetic materials that sinter at very high pressure (above 5000 bar), making copper coils that can withstand that pressure may be almost impossible.

Similar difficulties complicate the casting of Halbach-like structures here, one should place a permanent magnetic field source very close to the casted material while it is at high temperature. The typical copper coils do not withstand temperatures above 1000° C., and at elevated temperatures additionally have their electric conductivity reduced six-fold. It is thus necessary to provide a good thermal barrier between the coils and the casted material, or else to find an alternative field source material for magnet production.

For the magnet being constructed, alloys of Al—Ni—Co—Fe are very promising materials in both casted and sintered processes because they are capable of achieving 1.4 T of residual magnetization as anisotropic magnets. These alloys consist of two independent magnetic crystals: CoFe₂ crystals with high coercivity and magnetic field strength, and Al—Ni crystals which have poor magnetic properties but allow the building of the so-called matrix, where the CoFe₂ crystals freeze during casting.

However, these alloys have very high temperatures of casting (from 700° C. to 1100° C.), which restricts their use in the casting of Halbach-like structures. Furthermore, sintering these alloys requires enormous pressure (above 4000 bar), which also restricts their usage in sintered Halbach structures.

We suggest the substitution of AlNi crystals in Al—Ni—Co—Fe alloys with other magnetic materials that have lower melting temperature and/or less resistance to high pressure. A good candidate would be the well-studied MnBi crystals that, when more Bi is incorporated, can be melted at temperatures as low as 400° C. Any other low-temperature and low-viscosity magnetic material can be also used, for example MnAl alloys.

As a good example of magnetic material for Halbach casting, we suggest a mixture of CoFe (or SmCo) crystals, MnBi alloy, and Bi (and/or In) with molar ratio of 1:1:1/4 or similar. The CoFe crystals are the main phase of Al—Ni—Co—Fe magnets and have a bodycentered cubic (BCC) structure. One can increase the molar ratio of CoFe up to three to obtain a slightly stronger magnet at the cost of requiring higher temperature for casting. If the molar ratio of CoFe is below one, the magnet becomes weaker.

In addition to adjusting the relative molar ratio of CoFe, magnet properties are affected by the alloy proportions; all Co_(x)Fe_(1-x), where x∈[0.2, 0.8] form a BCC structure, were tested and can be used for the production of magnetic material.

To make said magnetic material, we take Co, Fe, Mn, Bi, and In at a molar ratio of 1:2:1:1.1:0.27 and in the form of ultrafine powders (1-10 um). These are placed in a vacuum chamber (10⁻⁴ Torr) and heated at 200° C. for about one day. After that, we increased the vacuum to 10⁻⁶ Torr for several hours, sealed the chamber, and heated it to ca. 1500° C. for another hour. It is important to seal the chamber because at this temperature, bismuth evaporates with high pressure (ca. 1 bar) and Mn and other metals can immediately react with oxygen from the air. We successfully tested two different methods for heating, inductive and heat transfer. We expect that any other heating methods such as resistive or discharge should also work well. After said heating, we slowly (0.5° C. per minute) cooled the material to room temperature.

The following physical properties were observed: the mixture of powders melts at circa 1500° C. with a density of about 2.5-3 g/cm³, in contrast to a density at room temperature of about 7.5 g/cm³ (and ca. 5.5 g/cm³ before sintering/casting). If the melting procedure described above is performed, the obtained magnetic material solidifies at ca. 400° C. and liquifies at circa 900-1000° C. At temperatures of 200° C. and above, this magnetic material irreversibly reacts with oxygen from the air, completely losing its magnetic property. The magnetic material can be milled to fine powder, and can be pressed and sintered at pressures starting from ca. 100 bar, with good results achieved below 1000 bars. In the case of casting in a magnetic field with this material, it is possible to start casting at 450-500° C. with slow cooling (0.2° C. per minute) to 300° C.

The key difference of this prepared magnetic material (FIG. 28 ) from commonly-used materials is that it builds BCC Co_(x)Fe_(1-x) crystals g32 that are situated on another material (low temperature melting alloys g34 including one or several elements of In, Bi, Sn, Ga, Tl, Cd, Zn, Pb, Te, and/or ferromagnetic like Mn—Bi g33). This combination gives new mechanical, thermal, and magnetic properties, i.e. the achieved material

-   -   can be sintered at low pressure (1000 bar),     -   can be casted at low temperature (500° C. and below), and is         perfectly suitable for a Halbach-like sintering/casting process         as proposed in our patent application.

Hence, said magnetic material used in said magnet sintering/casting process makes possible the affordable production of small magnets that focus a magnetic field to very high levels, allowing a field strength that is several times larger than the currently available 1.4 T magnets.

Method of DNP-NMR Measurements

Hence, the following method of DNP-NMR measurement is suggested:

-   -   one or several microwave beams with a carrier frequency that         refers to the electron Larmor frequency are directed at the         measurement area (FIGS. 14-18 );     -   every microwave beam is amplitude modulated with frequency         referring to the NMR excitation frequency and/or pulse sequence         (FIG. 11 ), so that each microwave beam acts as both the         polarizer (by electron Larmor frequency) and the transmitter (by         nuclear Larmor frequency);     -   one or several receiving coils and/or optical detectors (a6,         a25) are situated over, and/or around, and/or near the materials         being measured, so that said beams with their modulations act to         measure substances crossing the permanent magnetic field;     -   the same permanent magnetic field generator a26 may be used for         the measuring area and for electron acceleration in the         ELMATHRON vessels a4.

This method allows the advantage of constructing two applications, an in-situ NMR detector (FIGS. 13-15 ) and a chromatography NMR detector (FIGS. 16-18 ), as well as offering a new processing method for DNP-NMR measurement that benefits from many receiving NMR coils and one or several ELMATHRONs, with or without diffraction grating in the ELMATHRONs to enable different excitations of measured substances around the receiving NMR coils.

An embodiment in FIG. 18 demonstrates the ability to upgrade the currently available permanent magnetic source with the DNP-NMR system, so that the same permanent magnetic field can be used for both the measuring area and for electron acceleration in ELMATHRON vessels.

In-Situ NMR Detector

Two embodiments are proposed (FIGS. 13-15 ): the first one (FIG. 13 ) comprised of coils to transmit and receive the NMR signal, and the second one (FIG. 14 ) using the ELMATHRON to transmit and polarize measured substances. Both embodiments are comprised of two parts, the first part a16 containing magnets and the second part a15 electronics, and advance from the situation where several versions of the first part are constructed with different materials that are compatible with different temperature ranges, pressure ranges, and chemical exposures.

Said first part a16 is comprised of

-   -   permanent magnets a1;     -   one or several receiving coils (a20 or a25) situated between         magnets a1, with these coils connected to plug a13, which is         incorporated in case a16; and     -   one or several transmitters a20 or a4.

The transmitter may be constructed with one or several ELMATHRON vessel(s) a4 having microwave emission point(s) situated between the magnets a1 (FIG. 14A), and/or one or several transmitting coil(s) a20 situated between magnets a1 (FIG. 13A).

Said first and second parts of the in-situ NMR detector are hermetically isolated from each other. In addition, said second part may be environmentally conditioned with regards to temperature, pressure, and physical isolation from outside chemical substances. Hence, the second part is carefully protected and may be comprised of sensitive electronic parts a14.

A simplified version of the in-situ NMR detector may be equipped with two receiver and four transmitting coils a20 according to the drawing in FIG. 12 , with said coils situated in the first part a16 so that the receiving coils correspond to numbers {5, 6} and transmitting coils correspond to numbers {1, 2, 3, 4}.

In an embodiment with the ELMATHRON (FIG. 14 ), an energy and signal transmission from its second part a15 to the ELMATHRON vessel a4 situated in the first part a16 occurs by means of inductive coupling.

The advantage of coupling small magnets to the electronics relies on the fact that the conductive traces a19 between electronic chips on PCB boards and coils are several times shorter than the wave length of the largest electromagnetic wave traveling on them; this permits disregarding the wave impedance of electromagnetic signals traveling on said traces a19.

In addition, using a conductive magnetic material for the magnets in a1 and/or a24 reduces the electromagnetic interference of signals traveling on said traces a19 because said magnets act as electromagnetic shields.

For high viscosity fluids or, in the case of needing to clean a measuring area fouled by solids or precipitates, we suggest using one magnet and performing measurements on the surface of that magnet, albeit lower magnetic field strength achieved.

The key difference of our approach from, for example, the approach of Bluemich (1998) (i.e. one-side NMR) resides in the following advantages:

-   -   the usage of dual band transmitters (ELMATHRON) that improve the         signal to noise ratio by about two orders;     -   the usage of magnets with non-uniform magnetization, which         improves the smoothness and strength of the magnetic field and         also leads to the improvement of signal to noise by a factor of         ten; and     -   the main electronics are equipped with constant temperature         control by fluid thermostatting all, which allows the use of         this device in heavy industrial conditions.

Several non-uniform magnetizations for systems with and without ELMATHRON are referenced in FIGS. 24-27 , so that the magnetic field direction can be either parallel (FIGS. 24, 25, and 27 ) or perpendicular (FIG. 26 ) to the main axis of the device.

Since the magnet is situated to the side of the device, one can perform final magnetization after the magnet is produced, allowing one to recharge depleted magnets.

The shape of the magnet surface need not necessarily be a plane, and may be optimized for considerations such as easiness of cleaning of the device, or improving the magnetic field and its smoothness.

An additional advantage of this in-situ NMR detector is that that it can be used for the measurement of many physical properties of liquids.

Temperature can be determined based on the temperature dependence of a magnet's field strength.

The measurement of viscosity and two-dimensional flow speed (all dimensions perpendicular to the main axis of the magnets a1) is performed as follows. Consider two tubes with different inner diameters both situated in a permanent magnetic field. Now consider that pulse sequences are applied to this material at several places:

-   -   the area around the measured area, so that the fluid passes         predetermined excitation points before and after the measured         area;     -   in proximity to the tube's centers and in proximity to their         walls; and     -   within the two tubes with different inner diameters.

Signal responses from all the above-mentioned places are stored in a multidimensional array and tabulated for different flow speeds and viscosities. The resulting table is sufficient for determining the flow speed and viscosity of a measured fluid. Since the sensor may be equipped with four holes, as demonstrated on the FIG. 13D, then if at least two sensors with different linear dimensions are used, one can obtain the viscosity and two-dimensional flow speed of the measured fluid.

An in-situ NMR detector equipped with ELMATHRON and with several coils also benefits from the fact that different sizes of coils can be used, so that the measurement of viscosity and two-dimensional flow can be performed readily.

Pressure can be measured if an additional elastomer cylinder is situated near coils a20, and this elastomer is impregnated with predetermined non-zero-spin isotopes. If pressure increases, then the linear size of this cylinder decreases, and this change in size can be measured by the exciting/receiving coils of a20.

The measurement of density can be performed by taking the molar mass of each non-zero-spin isotope based on their responses and dividing by the isotope's relative natural occurrence.

Finally, some additional parameters like level sensor measurements can also be determined as derivatives of the measurements mentioned above.

Chromatography and Flow-Through NMR Detector

The main advantage of this embodiment resides in the possibility of using DNP in compact laboratory equipment, so several different embodiments of said chromatography and flow-through NMR detectors are shown in FIGS. 16-18 . All of these embodiments are comprised of several receiver coils a6 that are turned over capillary a2 or organized according to the drawing in FIG. 12 , and/or optical NMR detectors a6, and also contain one or several ELMATHRON vessels a4 that send their beams along capillary a2.

Said capillary and ELMATHRON vessels are both situated in either the permanent magnetic field, which is organized by permanent magnets a1, or an external permanent magnetic field a26 that may be constructed with permanent magnets or superconductor magnets.

Having many receiver coils working in parallel and also wave interference from one or several ELMATHRONs equipped with diffraction grating leads to the unique possibility of performing NMR measurements in flow.

To improve sensitivity, the capillary a2 and coils a6 can be constructed of materials with zero-spin isotopes. However, it is often not fiscally reasonable to do so. Alternatively, the capillary may be divided into two or more regions, each comprised of different isotope types in its coils and capillary. By making simultaneous measurements in all regions and applying the method described in Appendix 1, one can use information from each region to distinguish isotope spectra that are absent in that region.

For a useful example of this capability, consider two regions: the first has a quartz glass capillary with copper coils, and the second has a polytetrafluoroethylene (PTFE) capillary with silver coils. Hence, the part with the quartz glass capillary is sensitive to all isotopes except 29Si, 63Cu, and 65Cu, while the part with the PTFE capillary is sensitive to all isotopes except 19F, 13C, 107Ag, and 109Ag. With the help of the algorithm described in Appendix 1, one can get pure spectra of all non-zero-spin isotopes and remove any influence from magnetic field fluctuation. At the same time, said isotopes act as markers reducing the influence of any instability in the magnetic field and oscillator(s).

Any other alternatives with two or more regions comprised of different non-zero-spin isotopes are also suitable.

The advantage of coupling sending/receiving coils a6 to the electronics a3 relies on the fact that the conductive traces between electronic chips on PCB boards a3 and coils a6 are several times shorter than the wavelength of the largest electromagnetic wave traveling on them; this permits disregarding the wave impedance of electromagnetic signals traveling on said traces.

In addition, using a conductive magnetic material for the magnets in a1 reduces the electromagnetic interference of signals traveling on said traces because said magnets act as electromagnetic shields.

To improve the analysis of mixtures of different chemical components, the tube a2 may be filled with absorption components and function as a classic chromatography column. Here, either the complete tube is filled with the same absorption component, or particles of varying size may be distributed along the tube/column/capillary a2. In this case, pumping an unknown mixture over this tube/column/capillary produces NMR responses that are different in time and that also differ along the length of tube/column/capillary a2. Thus, different components in the investigated mixture build different mixture sets in context of position, time, and NMR spectrum response. According to Kruskal's theorem (1977), if a large enough measurement of the mixture can be performed in three or more dimensions (i.e. the time domain, length along the tube/column/capillary, and at least one NMR spectrum dimension), it is possible to collect pure spectra as well as the relative concentrations at all points of measurement.

The stationary phase in the so-called chromatography column (organized in the capillary a2) may intentionally have components with zero or almost zero response in NMR, i.e. zero-spin isotopes, or isotopes with non-zero-spin but with different atoms than are being investigated in the test mixture.

Alternatively, or in parallel, the stationary phase may be built with some non-zero-spin isotopes that are not available or rarely available in the test mixture. One can use for example, rare-earth elements, like 141Pr, 151Eu, 153Eu, or 165Ho, that deliver very sharp but short decay signals, or elements such as 107Ag or 109Ag that deliver weak, sharp, but long decay signals and usually have no presence in organic chemistry.

Alternatively, or in parallel, the stationary phase may be built with diamond crystals doped with 11B, 14N, 15N or any other non-zero-spin isotopes, or with rare earth fluoride crystals, so that it acts as an optical NMR transmitter and/or receiver.

In this case, these isotopes are excited d1, d5 and then transfer (d5 to d6) their spin magnetization to neighbor molecules d6. The neighbor molecules act exactly as do the molecules with high retention in a test mixture, leading to a higher response from these molecules. In the event the chromatographical separation of the mixture is not complete, however, said magnetization transfer occurs with some difference in magnitude, the NMR response of molecules close to the stationary phase is higher, and a larger difference in magnitude of NMR response for these components can be easily measured. This adds an additional dimension to the NMR experiment, improving resolution (according to said Kruskal theorem) and/or the signal to noise ratio, and allows the discrimination of chemical components that were not separated completely.

State of the art chromatography columns retain a test mixture for a long period, and the chromatography detector that is situated after the column then detects pure substances over short periods of time. Since an NMR experiment is not quick to complete, using NMR in conjunction with a chromatography column requires either stopping the flow or transferring an eluted substance into some vessel for further detection. However, for most of the time while a chromatography column is being run, the associated chromatography detector detects a known substance the mobile phase.

Hence, we suggest combining the NMR detector with the chromatography column (or a system very similar to it with necessary modifications for use in NMR), rather than appending the detector to the end. The key advantage of this approach is that NMR detection then starts when the test mixture is injected into the column and continues while it travels, providing immediate feedback on the separation quality. This embodiment drastically cuts detection time and allows the user to act if the mixture is not adequately separating, for example by changing eluent (mobile phase), pressure, or other factors.

Method for Estimation of Droplet Size Distribution

It is very often the situation that an investigated mixture has different phases, droplets, particles, or large molecules, and it is important to determine information about these components and their distribution. In this case, one can use a tube a2 without stationary phase, or with stationary phase that does not react chemically with the mixture.

Consider a mixture of two phases of chemicals (FIG. 19 ), for example oil and water, and assume that pure spectra are known for each phase. The spectrum of the mixture represents a linear combination of the spectra of the pure phases (oil and water in the example), and the weights of that linear combination refer to the relative proportions of these phases in the mixture.

If there is an isotope type that is represented in one phase but has no presence in the second (for example, carbon is available in the oil but has no presence in water), excitation by this type of non-zero-spin nucleus will excite only matching nuclei (carbons d1-d2 in the example). The spin energy from these excited nuclei d5 (carbons) will also excite other nuclei that are situated nearby, inside the same phase, and also at the surface between phases d7 (for example, hydrogens in the water phase on the surface close to oil). By measuring the spectra of these different, simultaneously excited nuclei (hydrogen d4, d6 and carbon d2), one can determine how much energy was transferred from one type to another d7 and calculate the total size of the surface between phases. If the droplets have spherical shapes (and normally they do), the droplet size distribution can be computed by a simple relational formula.

-   -   The same approach is applicable for determining:     -   the droplet size distribution of oil and its products,     -   the droplet size distribution of milk and its products,     -   the count per volume of leukocytes and/or erythrocytes in a         blood sample,     -   the count per volume of bacteria and/or viruses in a liquid         sample,     -   the count per volume of particles in engine lubricant and motor         oil, and     -   the count of any other droplets or particle-size distributions         in any fluid mixture.         Solid-State NMR

Usage of several receiving coils pointed in different directions, with all axes of these coils situated in the plane that is perpendicular to the permanent magnetic field as shown in FIG. 12 , opens new horizons for making solid-state NMR possible without highly intensive rotation of the measured substance. If the solid-state material to be measured is placed into a tube, and this tube is filled with said material to a length that is several times larger than the tube's diameter, one can push and pull the tube through the coils assembly (FIG. 12 ) and measure all responses from the receiver coils. If appropriate algorithms are used, as was described in the section “ELEGANT NMR” of this patent application, one can get highly accurate results without intensive rotation of this tube around its axis, because responses from differently pointed receiving coils allow for even better signal averaging than does the high-speed rotation at 100,000 rpm that is nowadays used in many solid-state NMR systems.

This advantage opens the possibility of constructing a portable NMR spectrometer based on FIG. 13 , with the variant of FIG. 13C such that the tube with solid-state material for the measurement is placed into connectors a22 and may be slightly rotated and push-pulled during measurements. This variant construction allows arbitrary solid-state NMR measurements with a portable device even in field conditions.

Another embodiment for solid-state NMR is based on the construction described in FIG. 17 , wherein one or several ELMATHRONs may be used and the tube with measured material may be installed into capillary a2. Alternatively, this capillary may be absent, but all coils a6 are nonetheless situated as if the capillary is present, and said tube is placed, rotated, and push-pulled in the position indicated by the label a2 in this drawing (FIG. 17 ).

This embodiment is not limited to the measurement of solid-state matter, and may be used for any homogeneous or heterogeneous material that can be situated inside said tube.

Appendix 1. Algorithm for Solution of (f12)

The minimization function in problem (f12) is independent on the t variable, hence it is sufficient to solve:

${\min\limits_{x,y}{\overset{J}{\sum\limits_{j = 1}}{{A_{j} - {y\left( {q_{j} + x} \right)}^{*}}}_{2}^{2}}},$ where

-   -   x∈         ^(N) and y∈         ^(I) are unknowns that refer to ψ_(n)(t) and ε_(i)(t),     -   A_(j)∈         ^(I)× N={a_(inj)} refers to {tilde over (ψ)}_(inj)(t),     -   q_(j)∈         ^(N) refers to {tilde over (ψ)}_(nj)(t)         for each given t.

The following objects should be computed step-by-step:

${P = {\underset{j = 1}{\sum\limits^{J}}A_{j}}},$ then compute the SVD of P=UDV*, U∈

^(I×R), U*U=I, V∈

^(N×R), V*V=I, D=diag(d), ∈

^(R×R) d=(d₁, . . . , d_(R))^(T), d₁≥ . . . ≥d_(R), R=min(I,N) and afterwards compute

${a = {\overset{J}{\sum\limits_{j = 1}}{q_{j}}_{2}^{2}}},{b = {{V^{*}{\overset{J}{\sum\limits_{j = 1}}q_{j}}} = \left( {b_{1},\ldots,\ b_{R}} \right)^{T}}},{c = {{U^{*}{\overset{J}{\sum\limits_{j = 1}}{A_{j}q_{j}}}} = {\left( {c_{1},\ldots,\ c_{R}} \right)^{T}.}}}$

Find by the bisection method a root of

${{Ja} - {b}_{2}^{2}} = {\sum\limits_{r}\frac{{❘{{Jc}_{r} - {b_{r}d_{r}}}❘}^{2}}{{\gamma J} - d_{r}^{2}}}$

by the γ variable in an open interval γ>d₁ ²/J with the upper bound taken as the computer precision and compute

${{\forall r} = 1},\ldots,{{R:z_{r}} = \frac{{\gamma b_{r}} - {d_{r}c_{r}}}{d_{r}^{2} - {J\gamma}}},{x = {Vz}},{y = {\gamma{{{Dz} + c}}_{2}^{2}{\left( {{Px} + {Uc}} \right).}}}$

There are many special cases, for example if one or several isotopes are missing in the investigated substances. In the case where only two input coils are considered (J=2) and the first coil reads reference spectra only, the solution reads as:

${y = {A_{1}q_{1}/{q_{1}}_{2}^{2}}},{x = {{\frac{{q_{1}}_{2}^{2}}{{{A_{1}q_{1}}}_{2}^{2}}A_{2}^{*}A_{1}q_{1}} - {q_{2}.}}}$

Additionally, in the case of one or several entries in A_(j) arrays being missing, the sparse multi-dimensional decomposition algorithm described in Appendix 2 should be used.

APPENDIX 2 SPARSE MULTI-DIMENSIONAL DECOMPOSITION ALGORITHM /* C program listing with ISO C99 and GNU C extensions Subroutines SCAL, AXPY, HERK, POSV, GEMM, and NRM2 have the same syntax as in ATLAS, LAPACK, or ACML (for details, see www.amd.com or www.netlib.org/lapack), with prefixes {d, z} that depend on data type. The same datatype should be substituted to the definition of ”zahl”, for example as ”double” or ”__complex__ double”. ZSIZE should be equal to 2 if ”__complex__ double” type is used */ double NW_SPF1(int NDim, int *N, int Rank, int SP, int NTOT,  int CI, int II [NTOT][NDim], zahl *A/* [NTOT]*/ ,  zahl **B/*[NDim]*/, zahl *C, /*[SP][N[CI]]*/ double SPWeight,  double *NRM/*[Rank]*/, double Lambda, double *Mu, double  GNRM2) { int i, j, k, ll, L[64], *ip; double s1;   zahl *D/*[Rank][Rank]*/, *DD/*[Rank][Rank]*/;   zahl *BB/*[N[CI]][Rank]*/, *p/*[Rank]/, *p1, *p2, *p3, zz;   for (i=0; i<Rank; i++) SCAL(N[CI], NRM[i], B[CI]+i, Rank);   SET(Rank*N[CI], 0., BB=malloc(sizeof(zahl)*Rank*N[CI]), 1);   p1=p=malloc(sizeof(zahl)*NDim*Rank);   for (i=0; i<CI; i++) L[i]=i;   for (i++; i<NDim; i++) L[i−1]=i;   for (i=0; i<NTOT; i++) { if (i==0) j=0;    else for (j=0; j<NDim−1; j++)     if (II[i−l][L[j]]!=II[i][L[j]]) break;    if (j==0) { p1=p+Rank*L[0]; p3=B[L[0]]+Rank*II[i][L[0]]; j++;     for (k=0; k<Rank; k++) p1[k]=p3[k]; }    for (; j<NDim−1; j++)    { p1=p+Rank*L[j]; p2=p+Rank*L[j−1];     p3=B[L[j]]+Rank*II[i][L[j]];     for (k=0; k<Rank; k++) p1[k]=p2[k]*p3[k]; }    AXPY(Rank, CONJ(A[i]−DOTU(Rank, p1, 1,     B[CI]+Rank*II[i][CI], 1)), p1, 1, BB+Rank* II[i][CI], 1); } #if ZSIZE==2   DSCAL(Rank*N[CI], −1., (double*)BB+1, 2); #endif   free (p); i=(CI==0)?1:0;   DD=malloc(sizeof(zahl)*Rank*Rank);   D=malloc(sizeof(zahl)*Rank*Rank);   HERK(CblasUpper, CblasNoTrans, Rank, N[i], 1., B[i], Rank,      0., D, Rank);   for (i++; i<NDim; i++) if (i!=CI)   { HERK(CblasUpper, CblasNoTrans, Rank, N[i], 1. ,     B[i], Rank, 0., DD, Rank);    for(11=0; 11<Rank*Rank; 11++) D[11]*=DD[11]; } #if ZSIZE==2   DSCAL(Rank*Rank, −1., (double*)D+1, 2); #endif   free (DD);   if (Lambda) { s1=Lambda;    for (i=0; i<NDim; i++) if (i!=CI && Mu) s1+=Mu[i];    for (i=0; i<Rank; i++) D[i*(Rank+1)]+=s1; 1}   if (Mu) for (i=0; i<NDim; i++)    if (Mu[i]>0 && i!=CI && N[i]==N[CI])     for (k=0; k<N[CI]; k++) for (j=0; j<Rank; j++)   BB[j+k*Rank]+=Mu[i]*(NRM[j]*B[i][j+k*Rank]−B[CI][j+k*Rank]);   POSV(CblasUpper, Rank, N[CI], D, Rank, BB, Rank);   AXPY(N[CI]*Rank, 1., BB, 1, B[CI], 1);   free (D); free (BB);   if (C!=0 && SP>0) { D=malloc(sizeof(zahl)*SP*Rank);    GEMM(CblasNoTrans, CblasNoTrans, Rank, SP, N[CI], 1.0,     B[CI], Rank, C, N[CI], 0., D, Rank);    GEMM(CblasNoTrans, CblasConjTrans, Rank, N[CI], SP,     SPWeight, D, Rank, C, N[CI],     sqrt (1. −SPWeight*SPWeight), B[CI], Rank);    free (D); } s1=0;   if (GNRM2) { p1=p=malloc(sizeof(zahl)*NDim*Rank);    for (i=0; i<CI; i++) L[i]=1;    for (i++; i<NDim; i++) L[i−1]=i;    for (i=0; i<NTOT; i++)    { if (i==0) j=0;     else for (j=0; j<NDim−1; j++)      if (II[i−1][L[j]]!= II[i][L[j]]) break;     if (j==0)     { p1=p+Rank*L[0]; p3=B[L[0]]+Rank*II[i][L[0]];      for (k=0; k<Rank; k++) p1[k]=p3[k]; j++; }     for (; j<NDim−1; j++)     { p1=p+Rank*L[j]; p2=p+Rank*L[j−1];      p3=B[L[j]]+Rank*II[i][L[j]];      for (k=0; k<Rank; k++) p1[k]=p2[k]*p3[k]; }     s1+=ABS2(A[i]−DOTU(Rank, p1, 1,B[CI]+Rank*II[i][CI], 1)); }    free (p); s1=sqrt (s1/GNRM2); }   for (i=0; i<Rank; i++)   { NRM[i]=NRM2(N[CI], B[CI]+i, Rank);    SCAL(N[CI], 1./NRM[i], B[CI]+i, Rank); }   if (GNRM2) { ip=malloc(sizeof(int)*Rank*2);    for (i=0; i<Rank; i++) ip[i]=i;    dSortP (Rank, NRM, ip); /* standard sort subroutine to sort NRM[ip[i]] so that only indexes in the ip array are sorted */    iPermut (Rank, sizeof (double), ip, NRM); /* standard permu- tation subroutine that permutes array NRM with rank elements of size sizeof (double) according to the index array ip */    for (i=0; i<NDim; i++) for (j=0; j<N[i]; j++)     iPermut (Rank, sizeof (zahl), ip, B[i]+j*Rank); }   return s1; } /* This subroutine implements Alternate Least Squares iterations for the sparse multi-dimensional decomposition */ double NWSPF(int NDim, /* total number of dimensions */ int *N, /* dimensions */ char *Updates, /* which dimensions should be updated */ int *NS, /* total number of vectors to update in each dimension */ int Rank, /* expected rank of the decomposition */ int NTOT, /* total number of sparse entries */ int II[NTOT][NDim], /* indexes of sparse entries */ zahl *A, /* values of said sparse entries */ zahl **B, /* array of arrays of decomposition factors */ zahl **C, /* smooth subspace matrices for each dimension , these matrices force the solution to be computed in this subspace */ double *SPWeight , /* weights in each direction for convergence, or zero if they are equal */ double *NRM, /* vector of norms of each tensor factor */ int MaxIter , /* maximum allowed iterations */ double Lambda, /* Tikhonov regularization parameter */ double Mu[NDim][NDim]) /* array with the regularizations that tie one or several dimensions to each other, i.e. Mu[i] refers to how close the i-th dimension should be to others */ { double Res[20];   int SumDim=0, LastUpdate=NDim−1, iter , mlfIA[2], ci, i;   Res[2]=ABS2(NRM2(NTOT, A, 1));   for (i=0; i<NDim; i++) SumDim+=N[i];   if (Updates )   { for (ci=NDim−1; ci>=0; ci++) if (Updates[ci]==’1’) break;    if (ci==−1) return −1;    for (i=0; i<ci; i++) if (Updates[i]==’1’) break;    if (i==ci)    { Res[0]=NW_SPF1(NDim, N, Rank, (NS)?NS[ci]:0, NTOT, ci,      II, A, B, (C)?C[ci]:0, (SPWeight)?SPWeight[ci]:1.,      NEM, Res[3], (Mu)?Mu[ci]:0 , Res[2]);     return Res[0]; } }   Res[1]=1; Res[6]=0;   for (iter=0; iter<MaxIter; iter++) for (ci=0; ci<NDim; ci++)   { if (Updates) if (Updates[ci]!=’1’) continue;    Res[0]=NW_SPF1(NDim, N, Rank, (NS)?NS[ci]:0, NTOT, ci,     II, A, B, (C)?C[ci]:0, (SPWeight)?SPWeight[ci]:1.,     NRM, Res[3], (Mu)?Mu[ci]:0, (ci==LastUpdate &&     iter%PrintStrade==0)?Res[2]:0); } /* residual is in Res[0]/Res[2]. If stagnated, the iterations should be stopped and restarted with modification of the Mu and Lambda parameters according to standard regularization theory */   return Res[0]; } 

The invention claimed is:
 1. A method of DNP-NMR measurement, the method comprising: providing material(s) to be investigated; exciting the material(s) with at least one modulated electromagnetic signal; providing a permanent magnetic field in a measurement area; placing the material(s) to be investigated into the measurement area; providing at least one NMR detector that is placed in proximity to the measurement area; and obtaining at least one NMR signal from at least one NMR detector, whereby the modulated electromagnetic signal is an electromagnetic signal of electron Larmor frequency with modulated amplitude.
 2. The method of claim 1, wherein the material(s) are placed into a tube located within the measurement area, said tube being divided into two or more parts with each part having different DNP-NMR intensities and/or frequencies.
 3. The method of claim 1, wherein the DNP-NMR measurements are performed during separation of the material(s).
 4. The method of claim 1, wherein the DNP-NMR measurements are performed in several areas, with the concentration of at least one measured component differing between measured areas.
 5. The method of claim 1, wherein the DNP-NMR measurements are performed several times in the same area, with the concentration of at least one measured component differing between measurements.
 6. The method of claim 1, wherein the measurements are performed in several areas during separation by external means, so that the concentration of at least one measured component differs between measured areas.
 7. The method of claim 1, wherein the measurements are performed several times in the same area during separation by external means, so that the concentration of at least one measured component differs between measured areas.
 8. The method of claim 1, wherein the material(s) for the investigation are fluid.
 9. The method of claim 1, wherein the NMR signal is forwarded from the NMR detector to an electronic board, whereby the distance between the NMR detector and the electronic board is smaller than the wavelengths of the NMR frequencies.
 10. The method of claim 1, wherein the permanent magnetic field is formed by at least one magnet made of conductive material.
 11. The method of claim 1, wherein the amplitude modulation of the electron Larmor frequency electromagnetic signal refers to a pulse with nuclear Larmor frequency.
 12. The method of claim 1, wherein the modulated electromagnetic signal is formed by interaction of electrons with a permanent magnetic field, and the permanent magnetic field used for forming the modulated electromagnetic signal shares a source with said permanent magnetic field provided in the measurement area.
 13. The method of claim 1, wherein a plurality of modulated electromagnetic signals are used and those signals interfere with each other.
 14. The method of claim 1, wherein the material(s) are placed into a tube located within the measurement area, the tube being rotatable about and movable along its longitudinal axis.
 15. The method of claim 1, wherein the permanent magnetic field is formed by either: at least one external superconductor magnet, or at least one permanent magnet having non-uniform magnetic polarization so that the magnetic strength in the measurement area is greater than the magnetic strength of an anisotropic magnet of the same material and size.
 16. The method of claim 1, wherein the material(s) are placed into a tube located within the measurement area, said tube being divided into two or more parts with each part being made from different chemical materials with different non-zero-spin isotope compositions.
 17. The method of claim 1, wherein the measurements are evaluations of droplet size and/or particle size distribution.
 18. A method of DNP-NMR measurement, the method comprising: providing material(s) to be investigated in an excitation area; exciting the material(s) with at least one modulated electromagnetic signal; providing a permanent magnetic field in a measurement area; moving the material(s) to be investigated from the excitation area into the measurement area; providing at least one NMR detector that is placed in proximity to the measurement area; and obtaining at least one NMR signal from at least one NMR detector, whereby the modulated electromagnetic signal is an electromagnetic signal of electron Larmor frequency with modulated amplitude.
 19. The method of claim 18, wherein the flow direction and speed of the material(s) to be investigated are additionally measured by means of measuring delay responses in the NMR experiment.
 20. The method of claim 18, wherein a plurality of modulated electromagnetic signals are used. 